aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/pr81090.c
blob: b5ebd43a91f5b6f230af02f3d043c89e4392b783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* { dg-do compile } */
/* { dg-options "-O2 -floop-nest-optimize" } */

int x3, za;
int hg[1];

void
yw (int dq)
{
  const int r7 = 2;

  while (dq < 1)
    {
      for (x3 = 0; x3 < r7; ++x3)
	for (za = 0; za < r7; ++za)
	  hg[1] = 0;
      ++dq;
    }

  x3 = 0;
  while (x3 < r7)
    {
      ++x3;
      if (x3 == 0)
	break;
    }
}