aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr59794-7.c
blob: 57fd3d276a01749a45c2f4d2684dfe2edb60f2e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR target/59794 */
/* { dg-options "-O2 -mno-avx" } */
/* { dg-skip-if "no AVX vector" { *-*-mingw* } } */

typedef int __v8si __attribute__ ((__vector_size__ (32)));

extern __v8si x;

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