1 /* PR target/59794 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O2 -mno-avx" } */ 4 /* { dg-skip-if "no AVX vector" { *-*-mingw* } } */ 5 6 typedef int __v8si __attribute__ ((__vector_size__ (32))); 7 8 extern __v8si x; 9 10 __v8si foo(void)11foo (void) 12 { /* { dg-warning "AVX vector return without AVX enabled changes the ABI" } */ 13 return x; 14 } 15