aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/torture/pr57341.c
blob: 3f5cc8dd720de1d64190bcbd2b681b6ec4b714a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* { dg-do run } */ 
/* { dg-additional-options "-msse" { target sse2_runtime } } */

int a, d;
int *b = &a, **c;
int
main ()
{
  int e;
    {
      int f[4];
      for (d = 0; d < 4; d++)
	f[d] = 1;
      e = f[1];
    }
  int *g[28] = { };
  *b = e;
  c = &g[0];
  if (a != 1)
    __builtin_abort ();
  return 0;
}