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