aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/gcc/testsuite/gcc.target/i386/pr54157.c
blob: b5c4528b80f43d370e77ecfba0f25a14100cdc4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* { dg-do compile { target { ! { ia32 } } } } */
/* { dg-options "-O2 -mx32 -maddress-mode=long -ftree-vectorize" } */

struct s2{
  int n[24 -1][24 -1][24 -1];
};

struct test2{
  struct s2 e;
};

struct test2 tmp2[4];

void main1 ()
{
  int i,j;

  for (i = 0; i < 24 -4; i++)
      for (j = 0; j < 24 -4; j++)
          tmp2[2].e.n[1][i][j] = 8;
}