PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr59794-3.c
blob11ebc31003a17acd088e2c9c5666e4ef699f7131
1 /* PR target/59794 */
2 /* { dg-do compile } */
3 /* { dg-prune-output "ABI for passing parameters" } */
4 /* { dg-options "-O2 -mno-avx" } */
5 /* { dg-skip-if "no AVX vector" { *-*-mingw* } } */
7 typedef int __v8si __attribute__ ((__vector_size__ (32)));
9 extern __v8si x;
11 extern void bar (__v8si);
12 void
13 foo (void)
15 bar (x); /* { dg-message "warning: AVX vector argument without AVX enabled changes the ABI" } */