diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2022-07-22 00:19:09 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2022-07-22 00:19:09 +0000 |
commit | 64edeadbcced95203fa7fc049c26d7ca47ecab7b (patch) | |
tree | 21b1dcec5e0b89d79a7df6d1a68e868a9bb8cf58 /gcc | |
parent | 707bc64fbeecf8a10f7aad103534b6999e9d190c (diff) |
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 90 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 66 |
3 files changed, 157 insertions, 1 deletions
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index ace4919765e..7bdcd4fa865 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220721 +20220722 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 0edb403696f..a304392b292 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,93 @@ +2022-07-21 Jason Merrill <jason@redhat.com> + + PR c++/106361 + * decl.cc (move_fn_p): Remove assert. + +2022-07-21 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2022-07-13 Patrick Palka <ppalka@redhat.com> + + PR c++/105912 + * call.cc (extract_call_expr): Return a NULL_TREE on failure + instead of asserting. + * pt.cc (tsubst_copy_and_build) <case CALL_EXPR>: Guard against + NULL_TREE extract_call_expr result. + +2022-07-21 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2022-07-13 Patrick Palka <ppalka@redhat.com> + + PR c++/105842 + * constraint.cc (satisfy_declaration_constraints): Refine early + exit test for argument dependence. + * cp-tree.h (uses_outer_template_parms_in_constraints): Declare. + * pt.cc (template_class_depth): Handle TI_TEMPLATE being a + FIELD_DECL. + (usse_outer_template_parms): Factor out constraint dependence + test into ... + (uses_outer_template_parms_in_constraints): ... here. + (type_dependent_expression_p): Use it for FUNCTION_DECL. + +2022-07-21 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2022-06-06 Patrick Palka <ppalka@redhat.com> + + PR c++/53164 + PR c++/105848 + * pt.cc (tsubst_copy_and_build) <case CALL_EXPR>: Look through an + ADDR_EXPR callee when calling mark_used. + +2022-07-21 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2022-06-03 Patrick Palka <ppalka@redhat.com> + + PR c++/105637 + * tree.cc (maybe_dummy_object): When returning a dummy + object, respect the cv-quals of 'this' if available. + +2022-07-21 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2022-06-03 Patrick Palka <ppalka@redhat.com> + + PR c++/100374 + * pt.cc (determine_specialization): Compare overall constraints + not just the trailing constraints. + (tsubst_each_template_parm_constraints): Define. + (tsubst_friend_function): Use it. + (tsubst_friend_class): Use it. + (tsubst_template_parm): Don't substitute TEMPLATE_PARM_CONSTRAINTS. + +2022-07-21 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2022-05-31 Patrick Palka <ppalka@redhat.com> + + PR c++/105758 + * call.cc (build_over_call): Use z_candidate::conversion_path + and ::access_path instead of TYPE_BINFO when building the + BASELINK for the templated form. + +2022-07-21 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2022-05-26 Patrick Palka <ppalka@redhat.com> + + PR c++/96363 + * decl.cc (shadow_tag): Use the return value of + maybe_process_partial_specialization. + * parser.cc (cp_parser_single_declaration): Call shadow_tag + before associate_classtype_constraints. + * pt.cc (maybe_new_partial_specialization): Change return type + to bool. Take 'type' argument by mutable reference. Set 'type' + to point to the correct constrained specialization when + appropriate. + (maybe_process_partial_specialization): Adjust accordingly. + 2022-07-19 Marek Polacek <polacek@redhat.com> PR c++/105634 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index eae1ccacd7e..0658fbc9144 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,69 @@ +2022-07-21 Jason Merrill <jason@redhat.com> + + PR c++/106361 + * g++.dg/cpp2a/spaceship-eq14.C: New test. + +2022-07-21 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2022-07-13 Patrick Palka <ppalka@redhat.com> + + PR c++/105912 + * g++.dg/cpp2a/consteval31.C: New test. + +2022-07-21 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2022-07-13 Patrick Palka <ppalka@redhat.com> + + PR c++/105842 + * g++.dg/cpp2a/concepts-memtmpl6.C: New test. + +2022-07-21 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2022-06-06 Patrick Palka <ppalka@redhat.com> + + PR c++/53164 + PR c++/105848 + * g++.dg/template/fn-ptr3.C: New test. + +2022-07-21 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2022-06-03 Patrick Palka <ppalka@redhat.com> + + PR c++/105637 + * g++.dg/cpp0x/lambda/lambda-this22.C: New test. + * g++.dg/template/non-dependent23.C: New test. + +2022-07-21 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2022-06-03 Patrick Palka <ppalka@redhat.com> + + PR c++/100374 + * g++.dg/cpp2a/concepts-spec2.C: New test. + * g++.dg/cpp2a/concepts-template-parm11.C: New test. + +2022-07-21 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2022-05-31 Patrick Palka <ppalka@redhat.com> + + PR c++/105758 + * g++.dg/template/non-dependent24.C: New test. + +2022-07-21 Patrick Palka <ppalka@redhat.com> + + Backported from master: + 2022-05-26 Patrick Palka <ppalka@redhat.com> + + PR c++/96363 + * g++.dg/cpp2a/concepts-partial-spec12.C: New test. + * g++.dg/cpp2a/concepts-partial-spec12a.C: New test. + * g++.dg/cpp2a/concepts-partial-spec13.C: New test. + 2022-07-20 Harald Anlauf <anlauf@gmx.de> Backported from master: |