]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/cp/ChangeLog
Daily bump.
[thirdparty/gcc.git] / gcc / cp / ChangeLog
index a4ab60f65be2ad28f71771f9cf532abfb17aea6f..ed86fa348d79aa9884a5139c257078744860c063 100644 (file)
@@ -1,3 +1,96 @@
+2023-11-28  Jason Merrill  <jason@redhat.com>
+
+       PR c++/94264
+       PR c++/53220
+       * call.cc (convert_like_internal): Remove obsolete comment.
+       * typeck.cc (decay_conversion): Allow array prvalue.
+       (maybe_warn_about_returning_address_of_local): Check
+       for returning pointer to temporary.
+
+2023-11-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * cp-objcp-common.cc (cp_feature_table): Evaluate
+       __has_extension (cxx_init_captures) to 1 even for -std=c++11.
+
+2023-11-27  Alex Coplan  <alex.coplan@arm.com>
+           Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR c++/60512
+       * cp-lang.cc (c_family_register_lang_features): New.
+       * cp-objcp-common.cc (struct cp_feature_selector): New.
+       (cp_feature_selector::has_feature): New.
+       (struct cp_feature_info): New.
+       (cp_register_features): New.
+       * cp-objcp-common.h (cp_register_features): New.
+
+2023-11-25  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+       * name-lookup.cc (check_can_export_using_decl): New.
+       (do_nonmember_using_decl): Use above to check if names can be
+       exported.
+
+2023-11-25  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+       PR c++/102341
+       * decl.cc (duplicate_decls): Allow exporting a redeclaration of
+       a typedef.
+
+2023-11-24  Tobias Burnus  <tobias@codesourcery.com>
+
+       * parser.cc (cp_parser_omp_clause_dist_schedule,
+       cp_parser_omp_scan_loop_body, cp_parser_omp_assumption_clauses,
+       cp_parser_omp_depobj): Add OPT_Wopenmp to warning_at.
+       * semantics.cc (finish_omp_clauses): Likewise.
+
+2023-11-24  Tobias Burnus  <tobias@codesourcery.com>
+
+       * parser.cc (cp_parser_omp_depobj): Accept optionally an argument
+       to the destroy clause.
+
+2023-11-24  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+       PR c++/99232
+       * decl.cc (grokvardecl): Don't mark variables attached to
+       modules as internal.
+
+2023-11-24  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+       PR c++/107398
+       * module.cc (trees_out::get_merge_kind): Handle lambdas in class
+       scope.
+       (maybe_key_decl): Remove assertion and fix whitespace.
+
+2023-11-24  Nathaniel Shead  <nathanieloshead@gmail.com>
+
+       PR c++/98885
+       * decl.cc (duplicate_decls): Adjust error message.
+       (xref_tag): Adjust error message. Check exporting decl that is
+       already declared as non-exporting.
+
+2023-11-23  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/110348
+       * parser.cc: Implement C++26 P2741R3 - user-generated static_assert
+       messages.
+       (cp_parser_static_assert): Parse message argument as
+       conditional-expression if it is not a pure string literal or
+       several of them concatenated followed by closing paren.
+       * semantics.cc (finish_static_assert): Handle message which is not
+       STRING_CST.  For condition with bare parameter packs return early.
+       * pt.cc (tsubst_expr) <case STATIC_ASSERT>: Also tsubst_expr
+       message and make sure that if it wasn't originally STRING_CST, it
+       isn't after tsubst_expr either.
+
+2023-11-22  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/112633
+       * pt.cc (tsubst_aggr_type): Handle empty TYPE_TEMPLATE_INFO
+       in the entering_scope adjustment.
+
+2023-11-22  Jason Merrill  <jason@redhat.com>
+
+       * decl.cc (start_preparsed_function): Clarify ctype logic.
+
 2023-11-20  Marc Poulhiès  <dkm@kataplop.net>
 
        * lambda.cc (compare_lambda_sig): Fix typo in variadic.