diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index d44f41a977943a25db0db3711ae4626584208e4b..9e964bcb0cd001a6230406fa92a8f1c1d4cd1ece 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20230512 +20230513 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 1126ca75ac539c3f1573b29eab12891ac968a90b..d7596551c3126ea4afd1741b225d58c7d2c66d5a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,55 @@ +2023-05-12 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2023-05-11 Patrick Palka <ppalka@redhat.com> + + PR c++/109745 + * typeck2.cc (poison_mutable_constructors): Define. + (store_init_value): Use it instead of setting + CONSTRUCTOR_MUTABLE_POISON directly. + +2023-05-12 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2023-05-11 Patrick Palka <ppalka@redhat.com> + Jonathan Wakely <jwakely@redhat.com> + + PR c++/83258 + PR c++/80488 + PR c++/97700 + * pt.cc (convert_nontype_argument_function): Remove linkage + requirement for C++17 and later. + (invalid_tparm_referent_p) <case ADDR_EXPR>: Restrict + DECL_ARTIFICIAL rejection test to VAR_DECL. + +2023-05-12 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2023-05-09 Patrick Palka <ppalka@redhat.com> + + PR c++/109761 + * parser.cc (cp_parser_class_specifier): Don't pass a class + context to noexcept_override_late_checks. + (noexcept_override_late_checks): Remove 'type' parameter + and use DECL_CONTEXT of 'fndecl' instead. + +2023-05-12 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2023-05-07 Patrick Palka <ppalka@redhat.com> + + PR c++/109651 + * pt.cc (coerce_template_args_for_ttp): Mention we can hit the + current_template_parms fallback when level-lowering a bound ttp. + (tsubst_template_decl): Add lambda_tparms parameter. Prefer to + use lambda_tparms instead of substituting DECL_TEMPLATE_PARMS. + (tsubst_decl) <case TEMPLATE_DECL>: Pass NULL_TREE as lambda_tparms + to tsubst_template_decl. + (tsubst_lambda_expr): For a generic lambda, substitute + DECL_TEMPLATE_PARMS and set current_template_parms to it + before substituting the function type. Pass the substituted + DECL_TEMPLATE_PARMS as lambda_tparms to tsubst_template_decl. + 2023-05-09 Jakub Jelinek <jakub@redhat.com> Backported from master: diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ec9a9f36587d8b85149f751cf17b2f9ced2cc605..15ac4f9bc552909e4e92c476c232f6e5880bda15 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,62 @@ +2023-05-12 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2023-05-12 Patrick Palka <ppalka@redhat.com> + + PR c++/83258 + * g++.dg/ext/visibility/anon8.C: Mention PR83258. + * g++.dg/template/function2.C: Removed. + +2023-05-12 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2023-05-11 Patrick Palka <ppalka@redhat.com> + + PR c++/109745 + * g++.dg/cpp0x/constexpr-mutable4.C: New test. + * g++.dg/cpp0x/constexpr-mutable5.C: New test. + * g++.dg/cpp1y/constexpr-mutable2.C: New test. + +2023-05-12 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2023-05-11 Patrick Palka <ppalka@redhat.com> + + PR c++/103807 + * g++.dg/cpp2a/lambda-targ1.C: New test. + +2023-05-12 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2023-05-11 Patrick Palka <ppalka@redhat.com> + Jonathan Wakely <jwakely@redhat.com> + + PR c++/83258 + PR c++/80488 + PR c++/97700 + * g++.dg/ext/visibility/anon8.C: Don't expect a "no linkage" + error for the template argument &B2:fn in C++17 mode. + * g++.dg/cpp0x/lambda/lambda-conv15.C: New test. + * g++.dg/cpp2a/nontype-class56.C: New test. + * g++.dg/template/function2.C: New test. + +2023-05-12 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2023-05-09 Patrick Palka <ppalka@redhat.com> + + PR c++/109761 + * g++.dg/cpp0x/noexcept78.C: New test. + +2023-05-12 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2023-05-07 Patrick Palka <ppalka@redhat.com> + + PR c++/109651 + * g++.dg/cpp2a/lambda-generic-ttp1.C: New test. + * g++.dg/cpp2a/lambda-generic-ttp2.C: New test. + 2023-05-11 Richard Sandiford <richard.sandiford@arm.com> PR target/109661