summaryrefslogtreecommitdiff
path: root/gcc/cp/ChangeLog
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2016-07-21 18:24:48 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2016-07-21 18:24:48 +0000
commit22e03f9cf5b2cd5c2657951fab325a40ced03336 (patch)
tree15c432d1002f99b74b6a34354b4ad14c39e064eb /gcc/cp/ChangeLog
parent12bea3095b557c20dd9555873d6f2e18066198d1 (diff)
downloadgcc-22e03f9cf5b2cd5c2657951fab325a40ced03336.tar.gz
PR c++/71728
* constexpr.c (potential_constant_expression_1) <case GOTO_EXPR>: Replace assert with test, return false if the goto isn't break or continue. Formatting fix. * g++.dg/other/pr71728.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@238602 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r--gcc/cp/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index f78b2ce0ab5..8375aa5f270 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,12 @@
2016-07-21 Jakub Jelinek <jakub@redhat.com>
+ PR c++/71728
+ * constexpr.c (potential_constant_expression_1) <case GOTO_EXPR>:
+ Replace assert with test, return false if the goto isn't break
+ or continue. Formatting fix.
+
+2016-07-21 Jakub Jelinek <jakub@redhat.com>
+
PR c++/71941
* cp-gimplify.c (cp_genericize): For nested cp_genericize calls
save/restore bc_label array.