Use -fcf-protection=return in cet-intrin-4.c
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr59794-1.c
blobc22bc2b3d0b96306f201a13940e69b1ca3a06140
1 /* PR target/59794 */
2 /* { dg-do compile { target ia32 } } */
3 /* { dg-options "-O2 -mno-mmx" } */
4 /* { dg-skip-if "no MMX vector" { *-*-mingw* } } */
6 typedef int __v2si __attribute__ ((__vector_size__ (8)));
8 extern __v2si x;
10 extern void bar (__v2si);
11 void
12 foo (void)
14 bar (x); /* { dg-message "warning: MMX vector argument without MMX enabled changes the ABI" } */