gcc/testsuite/gcc.target/i386/pr59794-2.c
raw| 1 | /* PR target/59794 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-prune-output "ABI for passing parameters" } */ |
| 4 | /* { dg-options "-O2 -mno-sse" } */ |
| 5 | /* { dg-skip-if "no SSE vector" { *-*-mingw* } } */ |
| 6 | |
| 7 | typedef double __v2df __attribute__ ((__vector_size__ (16))); |
| 8 | |
| 9 | extern __v2df x; |
| 10 | |
| 11 | extern void bar (__v2df); |
| 12 | void |
| 13 | foo (void) |
| 14 | { |
| 15 | bar (x); /* { dg-message "warning: SSE vector argument without SSE enabled changes the ABI" } */ |
| 16 | } |