]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/cp/ChangeLog
Fix PR70182 -- missing "on" in mangling of unresolved operators
[thirdparty/gcc.git] / gcc / cp / ChangeLog
index 833b9049ee44c1354f57d96c2d143cd764957b59..a42454a478a12afb21ff3825784d8cf0e2f42a70 100644 (file)
@@ -1,5 +1,124 @@
+2017-01-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
+
+       PR c++/70182
+       * mangle.c (write_template_args): Add "on" for operator names.
+
+2017-01-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
+
+       PR c++/77489
+       * mangle.c (write_discriminator): Handle discriminator >= 10.
+
+2017-01-17  Nathan Sidwell  <nathan@acm.org>
+
+       PR c++/61636
+       * cp-tree.h (maybe_generic_this_capture): Declare.
+       * lambda.c (resolvable_dummy_lambda): New, broken out of ...
+       (maybe_resolve_dummy): ... here.  Call it.
+       (maybe_generic_this_capture): New.
+       * parser.c (cp_parser_postfix_expression): Speculatively capture
+       this in generic lambda in unresolved member function call.
+       * pt.c (tsubst_copy_and_build): Force hard error from failed
+       member function lookup in generic lambda.
+
+2017-01-17  Aldy Hernandez  <aldyh@redhat.com>
+
+       PR c++/70565
+       * cp-array-notation.c (expand_array_notation_exprs): Handle
+       OMP_PARALLEL.
+
+2017-01-11  Jason Merrill  <jason@redhat.com>
+
+       PR c++/78337 - ICE on invalid with generic lambda
+       * semantics.c (process_outer_var_ref): Check if containing_function
+       is null.  Move inform call under complain test.
+
+2017-01-11  Nathan Sidwell  <nathan@acm.org>
+
+       PR c++/77812
+       * name-lookup.c (set_namespace_binding_1): An overload of 1 decl
+       is a new overload.
+
+2017-01-11  Nathan Sidwell  <nathan@acm.org>
+
+       * name-lookup.c (push_overloaded_decl_1): Refactor OVERLOAD creation.
+
+2017-01-11  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/78341
+       * parser.c (cp_parser_std_attribute_spec): Remove over-eager
+       assertion.  Formatting fix.
+
+       PR c++/72813
+       * decl2.c (c_parse_final_cleanups): Set flag_syntax_only to 1 after
+       writing PCH file.
+
+2017-01-10  David Malcolm  <dmalcolm@redhat.com>
+
+       PR c++/77949
+       * parser.c (cp_parser_class_specifier_1): Only suggest inserting
+       a missing semicolon if we have a valid insertion location for
+       the fix-it hint.
+
+2017-01-10  Jason Merrill  <jason@redhat.com>
+
+       FI 20, decomposition declaration with parenthesized initializer.
+       * parser.c (cp_parser_decomposition_declaration): Use
+       cp_parser_initializer.
+
+2017-01-09  Jason Merrill  <jason@redhat.com>
+
+       Implement P0195R2, C++17 variadic using.
+       * parser.c (cp_parser_using_declaration): Handle ellipsis and comma.
+       * pt.c (tsubst_decl): Handle pack expansion in USING_DECL_SCOPE.
+       * error.c (dump_decl): Likewise.
+
+2017-01-09  Jakub Jelinek  <jakub@redhat.com>
+
+       PR translation/79019
+       PR translation/79020
+       * semantics.c (finish_omp_clauses): Add missing whitespace to
+       translatable strings.
+       * cp-cilkplus.c (cpp_validate_cilk_plus_loop_aux): Fix comment typo.
+
+2017-01-07  Jason Merrill  <jason@redhat.com>
+
+       PR c++/78948 - instantiation from discarded statement
+       * parser.h (struct cp_parser): Remove in_discarded_stmt field.
+       * cp-tree.h (in_discarded_stmt): Declare it.
+       (struct saved_scope): Add discarded_stmt bitfield.
+       (in_discarded_stmt): New macro.
+       * decl2.c (mark_used): Check it.
+       * parser.c (cp_parser_selection_statement): Adjust.
+       (cp_parser_jump_statement): Adjust.
+
+2017-01-05  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/78931
+       * decl.c (cp_finish_decomp): Remove probe variable, if tt is
+       REFERENCE_REF_P, set tt to its operand.
+
+       PR c++/78890
+       * class.c (check_field_decls): Diagnose REFERENCE_TYPE fields in
+       unions even for C++11 and later.
+
+2017-01-05  Nathan Sidwell  <nathan@acm.org>
+
+       PR c++/78765
+       * pt.c (convert_nontype_argument): Don't try and see if integral
+       or enum expressions are constants prematurely.
+
+2017-01-04  Marek Polacek  <polacek@redhat.com>
+
+       PR c++/64767
+       * typeck.c (cp_build_binary_op): Warn when a pointer is compared with
+       a zero character literal.
+
 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
 
+       PR c++/78949
+       * typeck.c (cp_build_unary_op): Call mark_rvalue_use on arg if it has
+       vector type.
+
        PR c++/78693
        * parser.c (cp_parser_simple_declaration): Only complain about
        inconsistent auto deduction if auto_result doesn't use auto.