aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2020-10-08 00:16:30 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2020-10-08 00:16:30 +0000
commit6caec77e3be8e2989f723ac7f522885dded6bcfc (patch)
tree18fe983b1dd0b99e019e0e77552c5ee9d4e44a6f /gcc/cp
parent6ae17a3b6835b30102607d45ac89c7a668e2c8d4 (diff)
downloadgcc-6caec77e3be8e2989f723ac7f522885dded6bcfc.zip
gcc-6caec77e3be8e2989f723ac7f522885dded6bcfc.tar.gz
gcc-6caec77e3be8e2989f723ac7f522885dded6bcfc.tar.bz2
Daily bump.
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog46
1 files changed, 46 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index dcd5fd3..ebf1fb2 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,49 @@
+2020-10-07 Marek Polacek <polacek@redhat.com>
+
+ PR c++/97010
+ * pt.c (tsubst_copy_and_build) <case TEMPLATE_ID_EXPR>: Call
+ tsubst_copy_and_build explicitly instead of using the RECUR macro.
+ Handle a TEMPLATE_ID_EXPR with an IDENTIFIER_NODE as its operand.
+ <case CALL_EXPR>: Perform ADL for a TEMPLATE_ID_EXPR with an
+ IDENTIFIER_NODE as its operand.
+
+2020-10-07 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/88115
+ PR libstdc++/97273
+ * tree.c (cp_tree_equal) <case ALIGNOF_EXPR>: Return false if
+ ALIGNOF_EXPR_STD_P differ.
+
+2020-10-07 Nathan Sidwell <nathan@acm.org>
+
+ * cp-tree.h (struct language_function): Delete extern_decl_map.
+ (DECL_LOCAL_DECL_ALIAS): New.
+ * name-lookup.h (is_local_extern): Delete.
+ * name-lookup.c (set_local_extern_decl_linkage): Replace with ...
+ (push_local_extern_decl): ... this new function.
+ (do_pushdecl): Call new function after pushing new decl. Unhide
+ hidden non-functions.
+ (is_local_extern): Delete.
+ * decl.c (layout_var_decl): Do not allow VLA local externs.
+ * decl2.c (mark_used): Also mark DECL_LOCAL_DECL_ALIAS. Drop old
+ local-extern treatment.
+ * parser.c (cp_parser_oacc_declare): Deal with local extern aliases.
+ * pt.c (tsubst_expr): Adjust local extern instantiation.
+ * cp-gimplify.c (cp_genericize_r): Remap DECL_LOCAL_DECLs.
+
+2020-10-07 Nathan Sidwell <nathan@acm.org>
+
+ * cp-tree.h (DECL_BUILTIN_P): Rename to ...
+ (DECL_UNDECLARED_BUILTIN_P): ... here.
+ * decl.c (duplicate_decls): Adjust.
+ * name-lookup.c (anticipated_builtin_p): Adjust.
+ (do_nonmember_using_decl): Likewise.
+
+2020-10-07 Nathan Sidwell <nathan@acm.org>
+
+ * tree.c (build_cp_fntype_variant): Clear
+ TYPE_DEPENDENT_P_VALID if necessary.
+
2020-10-06 Marek Polacek <polacek@redhat.com>
PR c++/97297