aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-09-14 00:16:23 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-09-14 00:16:23 +0000
commit07985c47dc79d90cea33dcd9f84ec288ab5df261 (patch)
tree2e532f6326d0cd0ce4c00023f21f8aec91ea753f /gcc/cp
parent104c05c5284b7822d770ee51a7d91946c7e56d50 (diff)
downloadgcc-07985c47dc79d90cea33dcd9f84ec288ab5df261.zip
gcc-07985c47dc79d90cea33dcd9f84ec288ab5df261.tar.gz
gcc-07985c47dc79d90cea33dcd9f84ec288ab5df261.tar.bz2
Daily bump.
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog25
1 files changed, 25 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 8d1ec5d..50f3562 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,28 @@
+2021-09-13 Jason Merrill <jason@redhat.com>
+
+ * constexpr.c (maybe_warn_about_constant_value):
+ Complain about std::hardware_destructive_interference_size.
+ (cxx_eval_constant_expression): Call it.
+ * decl.c (cxx_init_decl_processing): Check
+ --param *-interference-size values.
+
+2021-09-13 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/101764
+ * cp-tree.h (PACK_EXPANSION_FORCE_EXTRA_ARGS_P): New accessor
+ macro.
+ * pt.c (has_extra_args_mechanism_p): New function.
+ (find_parameter_pack_data::found_extra_args_tree_p): New data
+ member.
+ (find_parameter_packs_r): Set ppd->found_extra_args_tree_p
+ appropriately.
+ (make_pack_expansion): Set PACK_EXPANSION_FORCE_EXTRA_ARGS_P if
+ ppd.found_extra_args_tree_p.
+ (use_pack_expansion_extra_args_p): Return true if there were
+ unsubstituted packs and PACK_EXPANSION_FORCE_EXTRA_ARGS_P.
+ (tsubst_pack_expansion): Pass the pack expansion to
+ use_pack_expansion_extra_args_p.
+
2021-09-10 Jakub Jelinek <jakub@redhat.com>
* parser.c (cp_parser_omp_atomic): Allow acq_rel on atomic read/write