aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/pr84552.c
blob: 15cbb0848f4bb08e87bfcce0f87ff04674a18a4b (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 "-O2 -floop-nest-optimize -fno-tree-copy-prop -fno-tree-fre -fno-tree-loop-ivcanon" } */

int cx;

int
e6 (int pj, int xe)
{
  for (cx = 0; cx < 2; ++cx)
    while (xe < 1)
      {
	for (cx = 0; cx < 2; ++cx)
	  pj *= 2;

	if (cx != 0)
	  goto o3;

	++xe;
      }

o3:
  return pj;
}