aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2021-08-31 00:16:50 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2021-08-31 00:16:50 +0000
commit1e2f030b80cb650708b02086dbd5431cd231495f (patch)
treeeaa330b0f099f7df2474d8a5b4af9cb6656f5ce7 /gcc/cp
parenteafa9d969237fd8f712c4b25a8c58932c01f44b4 (diff)
downloadgcc-1e2f030b80cb650708b02086dbd5431cd231495f.zip
gcc-1e2f030b80cb650708b02086dbd5431cd231495f.tar.gz
gcc-1e2f030b80cb650708b02086dbd5431cd231495f.tar.bz2
Daily bump.
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog27
1 files changed, 27 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 81372f9..87760a6 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,30 @@
+2021-08-30 Jason Merrill <jason@redhat.com>
+
+ PR c++/96286
+ * cp-tree.h (struct lang_type): Add erroneous bit-field.
+ (CLASSTYPE_ERRONEOUS): New.
+ * pt.c (limit_bad_template_recursion): Check it.
+ (instantiate_class_template_1): Set it.
+
+2021-08-30 Jason Merrill <jason@redhat.com>
+
+ * constexpr.c (cxx_eval_outermost_constant_expr): Copy
+ expr location to result.
+
+2021-08-30 Jason Merrill <jason@redhat.com>
+
+ PR c++/101460
+ * cp-tree.h (cxx_constant_value_sfinae): Declare.
+ * constexpr.c (cxx_constant_value_sfinae): New.
+ * pt.c (fold_targs_r, maybe_fold_fn_template_args): New.
+ (tsubst_copy_and_build) [CALL_EXPR]: Call
+ maybe_fold_fn_template_args.
+
+2021-08-30 Jason Merrill <jason@redhat.com>
+
+ * parser.c (cp_parser_simple_requirement): Warn about missing
+ requires.
+
2021-08-27 Jason Merrill <jason@redhat.com>
* typeck2.c (build_x_arrow): Do set TREE_TYPE when operand is