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
This commit is contained in:
Jakub Jelinek 2016-04-12 21:35:23 +02:00 committed by Jakub Jelinek
parent 20b9851c46
commit 13bd7c2bc5
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2016-04-12 Jakub Jelinek <jakub@redhat.com>
PR c++/70571
* g++.dg/ext/pr70571.C: New test.
2016-04-12 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/70680

View File

@ -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);
}