2015-12-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr59794-4.c
blob5ad0b070ad22b87ddad2d3e7bdc741aa2eedcff5
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 __v2si
11 foo (void)
12 { /* { dg-warning "MMX vector return without MMX enabled changes the ABI" } */
13 return x;