2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr59794-2.c
bloba294526feba585ea320b4045e01ac31b12a23cbc
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* } } */
7 typedef double __v2df __attribute__ ((__vector_size__ (16)));
9 extern __v2df x;
11 extern void bar (__v2df);
12 void
13 foo (void)
15 bar (x); /* { dg-message "warning: SSE vector argument without SSE enabled changes the ABI" } */