aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr101424.c
blob: 28bb7230e471dd59866dd91a717a415bd5f59ec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR target/101424 */
/* { dg-do compile } */
/* { dg-options "-O2 -mavx" } */

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

int foo_v4df_b, foo_v4df_c;

v4df
__attribute__foo_v4df ()
{
  v4df a;
  a[foo_v4df_c] = foo_v4df_b;
  return a;
}