summaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog66
1 files changed, 66 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 766e76c06fd..5db636add14 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,69 @@
+2022-04-05 Jason Merrill <jason@redhat.com>
+
+ PR c++/103852
+ DR 1286
+ * pt.cc (do_class_deduction): Pedwarn for renaming alias in C++17.
+
+2022-04-05 Jason Merrill <jason@redhat.com>
+
+ PR c++/101677
+ * name-lookup.h (struct cp_binding_level): Add requires_expression
+ bit-field.
+ * parser.cc (cp_parser_requires_expression): Set it.
+ (synthesize_implicit_template_parm): Check it.
+
+2022-04-04 Jason Merrill <jason@redhat.com>
+
+ PR c++/101894
+ * decl.cc (duplicate_decls): Copy DECL_FRIEND_CONTEXT.
+
+2022-04-04 Jason Merrill <jason@redhat.com>
+
+ PR c++/103852
+ DR 1286
+ * pt.cc (get_underlying_template): Compare default template args.
+
+2022-04-03 Benno Evers <benno.evers@tenzir.com>
+ Iain Sandoe <iain@sandoe.co.uk>
+
+ PR c++/103328
+ * coroutines.cc (morph_fn_to_coro): Reset
+ current_binding_level->blocks.
+
+2022-04-01 Jason Merrill <jason@redhat.com>
+
+ Revert:
+ 2022-03-31 Jason Merrill <jason@redhat.com>
+
+ PR c++/96645
+ * parser.cc (cp_parser_early_parsing_nsdmi): New.
+ (cp_parser_member_declaration): Call it.
+
+2022-04-01 Jason Merrill <jason@redhat.com>
+
+ Revert:
+ 2022-03-24 Jason Merrill <jason@redhat.com>
+
+ PR c++/96645
+ * cp-tree.h (type_has_default_ctor_to_be_synthesized): Declare.
+ * class.cc (type_has_default_ctor_to_be_synthesized): New.
+ (type_has_non_user_provided_default_constructor_1): Support it.
+ (type_has_non_user_provided_default_constructor): Now a wrapper.
+ * method.cc (complain_about_unparsed_dmi): New.
+ (constructible_expr): Call it.
+
+2022-04-01 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/105110
+ * pt.cc (unify) <case TEMPLATE_PARM_INDEX>: Drop cv-quals from
+ the argument type of an NTTP before deducing from it.
+
+2022-03-31 Jason Merrill <jason@redhat.com>
+
+ PR c++/96645
+ * parser.cc (cp_parser_early_parsing_nsdmi): New.
+ (cp_parser_member_declaration): Call it.
+
2022-03-30 Patrick Palka <ppalka@redhat.com>
PR c++/100474