]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/cp/ChangeLog
Fix PR70182 -- missing "on" in mangling of unresolved operators
[thirdparty/gcc.git] / gcc / cp / ChangeLog
CommitLineData
4bbc35f3
MT
12017-01-18 Markus Trippelsdorf <markus@trippelsdorf.de>
2
3 PR c++/70182
4 * mangle.c (write_template_args): Add "on" for operator names.
5
f6efea51
MT
62017-01-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7
8 PR c++/77489
9 * mangle.c (write_discriminator): Handle discriminator >= 10.
10
8ddfdbc2
NS
112017-01-17 Nathan Sidwell <nathan@acm.org>
12
13 PR c++/61636
14 * cp-tree.h (maybe_generic_this_capture): Declare.
15 * lambda.c (resolvable_dummy_lambda): New, broken out of ...
16 (maybe_resolve_dummy): ... here. Call it.
17 (maybe_generic_this_capture): New.
18 * parser.c (cp_parser_postfix_expression): Speculatively capture
19 this in generic lambda in unresolved member function call.
20 * pt.c (tsubst_copy_and_build): Force hard error from failed
21 member function lookup in generic lambda.
22
893ffa2c
AH
232017-01-17 Aldy Hernandez <aldyh@redhat.com>
24
25 PR c++/70565
26 * cp-array-notation.c (expand_array_notation_exprs): Handle
27 OMP_PARALLEL.
28
91d01bf4
JM
292017-01-11 Jason Merrill <jason@redhat.com>
30
31 PR c++/78337 - ICE on invalid with generic lambda
32 * semantics.c (process_outer_var_ref): Check if containing_function
33 is null. Move inform call under complain test.
34
01bfd257
NS
352017-01-11 Nathan Sidwell <nathan@acm.org>
36
37 PR c++/77812
38 * name-lookup.c (set_namespace_binding_1): An overload of 1 decl
39 is a new overload.
40
5b33cc83
NS
412017-01-11 Nathan Sidwell <nathan@acm.org>
42
43 * name-lookup.c (push_overloaded_decl_1): Refactor OVERLOAD creation.
44
6b5b4e9c
JJ
452017-01-11 Jakub Jelinek <jakub@redhat.com>
46
1f258a55
JJ
47 PR c++/78341
48 * parser.c (cp_parser_std_attribute_spec): Remove over-eager
49 assertion. Formatting fix.
50
6b5b4e9c
JJ
51 PR c++/72813
52 * decl2.c (c_parse_final_cleanups): Set flag_syntax_only to 1 after
53 writing PCH file.
54
b9f4757f
DM
552017-01-10 David Malcolm <dmalcolm@redhat.com>
56
57 PR c++/77949
58 * parser.c (cp_parser_class_specifier_1): Only suggest inserting
59 a missing semicolon if we have a valid insertion location for
60 the fix-it hint.
61
2af5cb50
JM
622017-01-10 Jason Merrill <jason@redhat.com>
63
64 FI 20, decomposition declaration with parenthesized initializer.
65 * parser.c (cp_parser_decomposition_declaration): Use
66 cp_parser_initializer.
67
f4da28a0
JM
682017-01-09 Jason Merrill <jason@redhat.com>
69
70 Implement P0195R2, C++17 variadic using.
71 * parser.c (cp_parser_using_declaration): Handle ellipsis and comma.
72 * pt.c (tsubst_decl): Handle pack expansion in USING_DECL_SCOPE.
73 * error.c (dump_decl): Likewise.
74
bd2c6270
JJ
752017-01-09 Jakub Jelinek <jakub@redhat.com>
76
77 PR translation/79019
78 PR translation/79020
79 * semantics.c (finish_omp_clauses): Add missing whitespace to
80 translatable strings.
81 * cp-cilkplus.c (cpp_validate_cilk_plus_loop_aux): Fix comment typo.
82
38285dd7
JM
832017-01-07 Jason Merrill <jason@redhat.com>
84
85 PR c++/78948 - instantiation from discarded statement
86 * parser.h (struct cp_parser): Remove in_discarded_stmt field.
87 * cp-tree.h (in_discarded_stmt): Declare it.
88 (struct saved_scope): Add discarded_stmt bitfield.
89 (in_discarded_stmt): New macro.
90 * decl2.c (mark_used): Check it.
91 * parser.c (cp_parser_selection_statement): Adjust.
92 (cp_parser_jump_statement): Adjust.
93
962c5679
JJ
942017-01-05 Jakub Jelinek <jakub@redhat.com>
95
26f20371
JJ
96 PR c++/78931
97 * decl.c (cp_finish_decomp): Remove probe variable, if tt is
98 REFERENCE_REF_P, set tt to its operand.
99
962c5679
JJ
100 PR c++/78890
101 * class.c (check_field_decls): Diagnose REFERENCE_TYPE fields in
102 unions even for C++11 and later.
103
dc7650cc
NS
1042017-01-05 Nathan Sidwell <nathan@acm.org>
105
106 PR c++/78765
107 * pt.c (convert_nontype_argument): Don't try and see if integral
108 or enum expressions are constants prematurely.
109
a9342885
MP
1102017-01-04 Marek Polacek <polacek@redhat.com>
111
112 PR c++/64767
113 * typeck.c (cp_build_binary_op): Warn when a pointer is compared with
114 a zero character literal.
115
066435fe
JJ
1162017-01-04 Jakub Jelinek <jakub@redhat.com>
117
abec4284
JJ
118 PR c++/78949
119 * typeck.c (cp_build_unary_op): Call mark_rvalue_use on arg if it has
120 vector type.
121
26c43e27
JJ
122 PR c++/78693
123 * parser.c (cp_parser_simple_declaration): Only complain about
124 inconsistent auto deduction if auto_result doesn't use auto.
125
c9cf3863
JJ
126 * parser.c (cp_parser_simple_declaration): Diagnose function
127 declaration among more than one init-declarators with auto
128 specifier.
129
066435fe
JJ
130 PR c++/71182
131 * parser.c (cp_lexer_previous_token): Use vec_safe_address in the
132 assertion, as lexer->buffer may be NULL.
133
baf9ebc8
MP
1342017-01-04 Marek Polacek <polacek@redhat.com>
135
136 PR c++/77545
137 PR c++/77284
138 * constexpr.c (potential_constant_expression_1): Handle CLEANUP_STMT.
139
4bf07f3f
NS
1402017-01-04 Nathan Sidwell <nathan@acm.org>
141
142 PR c++/66735
143 * cp-tree.h (DECLTYPE_FOR_REF_CAPTURE): New.
144 (lambda_capture_field_type): Update prototype.
145 * lambda.c (lambda_capture_field_type): Add is_reference parm.
146 Add referenceness here.
147 (add_capture): Adjust lambda_capture_field_type call, refactor
148 error checking.
149 * pt.c (tsubst): Adjust lambda_capture_field_type call.
150
cbe34bb5 1512017-01-01 Jakub Jelinek <jakub@redhat.com>
5624e564
JJ
152
153 Update copyright years.
ad41bd84 154\f
cbe34bb5 155Copyright (C) 2017 Free Software Foundation, Inc.
ad41bd84
JM
156
157Copying and distribution of this file, with or without modification,
158are permitted in any medium without royalty provided the copyright
159notice and this notice are preserved.