summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr43653.c
blob: 22928edacfec1901f02a3acae73b2ac36ad6534c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-O1 -ftree-vectorize -msse" } */

typedef struct {} S;

void *foo()
{
  S a[64], *p[64];
  int i;

  for (i = 0; i < 64; i++)
    p[i] = &a[i];
  return p[0];
}