diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2020-06-18 00:16:37 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2020-06-18 00:16:37 +0000 |
commit | aff95ee7cc2c046d69ff6f79990930fb22e0e808 (patch) | |
tree | c43f37859615730e064b1483e4655b7afc411ff2 /gcc/cp | |
parent | 4f2ab6b89e170f1343f935761481c3745fe603b1 (diff) | |
download | gcc-aff95ee7cc2c046d69ff6f79990930fb22e0e808.zip gcc-aff95ee7cc2c046d69ff6f79990930fb22e0e808.tar.gz gcc-aff95ee7cc2c046d69ff6f79990930fb22e0e808.tar.bz2 |
Daily bump.
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 0175378..4d9759e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,36 @@ +2020-06-17 Jonathan Wakely <jwakely@redhat.com> + + PR c++/66159 + * parser.c (cp_parser_elaborated_type_specifier): Do not warn + unless in a declaration. + +2020-06-17 Jason Merrill <jason@redhat.com> + + * cp-tree.h (copy_fndecl_with_name): Declare. + * class.c (copy_fndecl_with_name): Split out from... + (build_clone): ...here. + (add_implicitly_declared_members): Add op== to TYPE_FIELDS. + * method.c (implicitly_declare_fn): Use copy_fndecl_with_name. + +2020-06-17 Jason Merrill <jason@redhat.com> + + * call.c (build_new_op_1): Don't look for a CALL_EXPR when + calling a consteval function. + +2020-06-17 Jason Merrill <jason@redhat.com> + + * decl2.c (grokfield): Pass SD_DEFAULTED and SD_DELETED. + * decl.c (duplicate_decls): Reduce error for delete + after earlier declaration to pedwarn. + +2020-06-17 Marek Polacek <polacek@redhat.com> + + PR c++/95508 + * constexpr.c (maybe_fold_non_dependent_expr): New. + * cp-tree.h (maybe_fold_non_dependent_expr): Declare. + * typeck.c (cp_build_array_ref): Call maybe_fold_non_dependent_expr + instead of maybe_constant_value. + 2020-06-16 Marek Polacek <polacek@redhat.com> PR c++/95369 |