https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70571
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Indeed, Nathan patch for PR70501 fixed this, testing now 2016-04-12 Jakub Jelinek <ja...@redhat.com> PR c++/70571 * g++.dg/ext/pr70571.C: New test. --- gcc/testsuite/g++.dg/ext/pr70571.C.jj 2016-04-12 19:28:38.378163234 +0200 +++ gcc/testsuite/g++.dg/ext/pr70571.C 2016-04-12 19:28:06.000000000 +0200 @@ -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); +} and will commit it and close this PR once bootstrap/regtest with it is finished.