aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr59794-2.c
blob: f13998214e3764c60f9e12389629f386fb695f60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR target/59794 */
/* { dg-prune-output "ABI for passing parameters" } */
/* { dg-options "-O2 -mno-sse" } */
/* { dg-skip-if "no SSE vector" { *-*-mingw* } } */

typedef double __v2df __attribute__ ((__vector_size__ (16)));

extern __v2df x;

extern void bar (__v2df);
void
foo (void)
{
  bar (x); /* { dg-message "warning: SSE vector argument without SSE enabled changes the ABI" } */
}