aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr59794-5.c
blob: 24c88be09449e1b85f51e7f8fc732238b843a572 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR target/59794 */
/* { dg-do compile { target { ia32 } } } */
/* { dg-options "-O2 -mno-sse" } */
/* { dg-skip-if "no SSE vector" { *-*-mingw* } } */

typedef int __v4si __attribute__ ((__vector_size__ (16)));

extern __v4si x;

__v4si
foo (void)
{ /* { dg-warning "SSE vector return without SSE enabled changes the ABI" } */
  return x;
}