aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr83695.c
blob: af56a313f40a42c2e1464e939fe1e3ea85e5dd5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* { dg-do compile } */
/* { dg-options "-O3" } */

int a[3][3][3], b, d;
short c;
unsigned char e;

static void f ()
{
  for (c = 0; c < 2; c++)
      for (e = 0; e < 3; e++)
        for (b = 0; b < 3; b++)
          a[b][e][b] = 0;
  while (1)
    ;
}

int main ()
{
  if (d)
    f ();
  return 0;
}