From 13bd7c2bc5c87fd1c9193203bcc750dfed740802 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 12 Apr 2016 21:35:23 +0200 Subject: [PATCH] re PR c++/70571 (ICE on valid code on x86_64-linux-gnu in verify_ctor_sanity, at cp/constexpr.c:2259) PR c++/70571 * g++.dg/ext/pr70571.C: New test. From-SVN: r234911 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/ext/pr70571.C | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 gcc/testsuite/g++.dg/ext/pr70571.C diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 996117b9de3..e4adde84406 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-04-12 Jakub Jelinek + + PR c++/70571 + * g++.dg/ext/pr70571.C: New test. + 2016-04-12 Michael Meissner PR target/70680 diff --git a/gcc/testsuite/g++.dg/ext/pr70571.C b/gcc/testsuite/g++.dg/ext/pr70571.C new file mode 100644 index 00000000000..2381bfe589c --- /dev/null +++ b/gcc/testsuite/g++.dg/ext/pr70571.C @@ -0,0 +1,10 @@ +// PR c++/70571 +// { dg-do compile } + +typedef int V __attribute__ ((vector_size (sizeof (int)))); + +void +foo (V *x, V *y, int z) +{ + *x = (z == *y); +}