diff options
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 875b6c8..a2ef3e3 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,100 @@ +2020-11-03 Jason Merrill <jason@redhat.com> + + * tree.c (is_byte_access_type): Don't use char_type_p. + +2020-11-03 Jakub Jelinek <jakub@redhat.com> + + PR c++/97663 + * parser.c (cp_parser_init_declarator): Don't try to parse + C++17 deduction guides if there are any type specifiers even when + type is NULL. + +2020-11-03 Kamlesh Kumar <kamleshbhalui@gmail.com> + Jason Merrill <jason@redhat.com> + + PR c++/97453 + DR2303 + * pt.c (get_template_base): Consider closest base in template + deduction when base of base also matches. + +2020-11-03 Nathan Sidwell <nathan@acm.org> + + * pt.c (tsubst_expr): Simplify using decl instantiation, add + asserts. + +2020-11-03 Nathan Sidwell <nathan@acm.org> + + * class.c (copy_fndecl_with_name): Always not top level. + (build_cdtor_clones): Add update_methods parm, use it to + conditionally update the method vec. Return void + (clone_cdtor): Adjust. + (clone_constructors_and_destructors): Adjust comment. + +2020-11-03 Nathan Sidwell <nathan@acm.org> + + * pt.c (primary_template_specialization_p): Use + VAR_OR_FUNCTION_DECL_P. + (tsubst_template_decl): Check for FUNCTION_DECL, not !TYPE && !VAR + for registering a specialization. + +2020-11-03 Nathan Sidwell <nathan@acm.org> + + * cp-tree.h (fixup_deferred_exception_variants): Declare. + * parser.c (cp_parser_class_specifier_1): Call it when + completing deferred parses rather than creating a variant. + (cp_parser_member_declaration): Move comment from ... + (cp_parser_noexcept_specification_opt): ... here. Refactor the + deferred parse. + * tree.c (fixup_deferred_exception_variants): New. + +2020-11-03 Nathan Sidwell <nathan@acm.org> + + * pt.c (tsubst_lambda_expr): Reorder extra-scope handling to match + the non-template case. + (instantiate_body): Move a couple of declarations to their + initializers. + +2020-11-03 Nathan Sidwell <nathan@acm.org> + + * decl.c (duplicate_decls): Return error_mark_node fo extern-c + mismatch. + +2020-11-03 Marek Polacek <polacek@redhat.com> + + * constexpr.c (potential_constant_expression_1): Treat + __PRETTY_FUNCTION__ inside a template function as + potentially-constant. + * pt.c (uses_template_parms): Call + instantiation_dependent_expression_p instead of + value_dependent_expression_p. + (instantiation_dependent_expression_p): Check + potential_constant_expression before calling + value_dependent_expression_p. + +2020-11-03 Marek Polacek <polacek@redhat.com> + + PR c++/97632 + * init.c (build_new_1): Disable -Winit-list-lifetime for an unevaluated + operand. + +2020-11-03 Nathan Sidwell <nathan@acm.org> + + * tree.c (bind_template_template_parm): Mark the parm as a + template parm. + (cp_tree_equal): Refactor CALL_EXPR. Use comp_template_args for + TREE_VECs. + +2020-11-03 Nathan Sidwell <nathan@acm.org> + + * rtti.c (init_rtti_processing): Move var decl to its init. + (get_tinfo_decl): Likewise. Break out creation to called helper + ... + (get_tinfo_decl_direct): ... here. + (build_dynamic_cast_1): Move var decls to their initializers. + (tinfo_base_init): Set decl's location to BUILTINS_LOCATION. + (get_tinfo_desc): Only push ABI namespace when needed. Set type's + context. + 2020-11-02 Nathan Sidwell <nathan@acm.org> * decl.c (start_decl_1): Refactor declarations. Fixup some |