summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr68674.c
blob: 37c57592fec15930ef8c9124ee6a399b65489d00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR target/68674 */
/* { dg-do compile } */
/* { dg-require-effective-target avx } */
/* { dg-options "-O2" } */

typedef int v8si __attribute__((vector_size(32)));

v8si a;

 __attribute__((target("avx")))
v8si
foo()
{
    return a;
}