Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr59794-1.c

raw
1 /* PR target/59794 */
2 /* { dg-do compile { target ia32 } } */
3 /* { dg-options "-O2 -mno-mmx" } */
4 /* { dg-skip-if "no MMX vector" { *-*-mingw* } } */
5
6 typedef int __v2si __attribute__ ((__vector_size__ (8)));
7
8 extern __v2si x;
9
10 extern void bar (__v2si);
11 void
12 foo (void)
13 {
14 bar (x); /* { dg-message "warning: MMX vector argument without MMX enabled changes the ABI" } */
15 }