aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-06-08 15:22:24 -0400
committerJason Merrill <jason@redhat.com>2020-06-08 16:22:02 -0400
commit931fdcc5324417c46d6a67e9a4116fffb7bda2e0 (patch)
tree929b415dd07904af8866d8338eb0a9092e6e75ee /gcc/cp
parent187da2ce31f13b2f75d5bb780e30ee364ead9d1d (diff)
downloadgcc-931fdcc5324417c46d6a67e9a4116fffb7bda2e0.zip
gcc-931fdcc5324417c46d6a67e9a4116fffb7bda2e0.tar.gz
gcc-931fdcc5324417c46d6a67e9a4116fffb7bda2e0.tar.bz2
Add missing ChangeLog entries
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog32
1 files changed, 32 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index ef3d75c..db2aedb 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -208,6 +208,7 @@
2020-05-27 Jason Merrill <jason@redhat.com>
+ PR c++/95242
* call.c (build_new_op_1): Suppress
warn_zero_as_null_pointer_constant across comparison of <=> result
to 0.
@@ -238,6 +239,37 @@
<case TEMPLATE_ID_EXPR>: Don't evaluate the concept when
constexpr evaluation is uid-sensitive.
+2020-05-22 Jason Merrill <jason@redhat.com>
+
+ * cp-gimplify.c (cp_gimplify_expr) [CALL_EXPR]: Don't preevaluate
+ the function address if the call used operator syntax.
+
+2020-05-21 Jason Merrill <jason@redhat.com>
+
+ PR c++/95221
+ * cp-ubsan.c (cp_ubsan_maybe_instrument_member_call): For a virtual
+ call, instrument the OBJ_TYPE_REF.
+
+ * decl.c (compute_array_index_type_loc): Diagnose expressions
+ in a template that can't be constant.
+ * parser.c (cp_parser_direct_declarator): Don't check
+ non-constant array bounds here.
+
+ * cp-tree.h (is_rvalue_constant_expression): Declare.
+ * constexpr.c (is_rvalue_constant_expression): New.
+ * parser.c (cp_parser_constant_expression): Use it.
+ * decl.c (cp_finish_decl): Try to treat a constexpr initializer in a
+ template as constant.
+
+ * typeck.c (build_x_modify_expr): Handle error_mark_node arguments.
+
+ * decl.c (grokparms): Return NULL_TREE if any parms were erroneous.
+
+2020-05-21 Iain Sandoe <iain@sandoe.co.uk>
+
+ * coroutines.cc (finish_co_return_stmt): Revert change to use
+ finish_expr_stmt.
+
2020-05-21 Patrick Palka <ppalka@redhat.com>
PR c++/94038