https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114339
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Nice, further cleaned up: /* PR target/114339 */ /* { dg-do run } */ /* { dg-options "-O2 -Wno-psabi" } */ /* { dg-additional-options "-mavx" { target avx_runtime } } */ typedef long V __attribute__((vector_size (16))); __attribute__((noipa)) V foo (V a) { return a <= (V) {0, __LONG_MAX__ }; } int main () { V t = foo ((V) { 0, 0 }); if (t[0] != -1L || t[1] != -1L) __builtin_abort (); }