https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Here is a better testcase which fails even at -O1 and does not depend on the vectorizer: ``` typedef int v4si __attribute__ ((vector_size (4*sizeof(int)))); typedef short v4hi __attribute__ ((vector_size (4*sizeof(short)))); v4hi f(v4hi a, v4hi b) { auto t = __builtin_convertvector (a, v4si); auto t1 = __builtin_convertvector (b, v4si); t ^= t1; return __builtin_convertvector (t, v4hi); } ```