aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/pr84650.c
blob: e59d16184f19fc4f97a8a0d04340d5e9d8e672c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */
/* { dg-options "-O2 -fgraphite-identity -fno-tree-copy-prop --param lim-expensive=3" } */

unsigned int dj;

void
np (void)
{
  const unsigned int uw = 2;
  unsigned int eu;

  for (eu = 0; eu < uw; ++eu)
    {
      for (dj = 0; dj < uw; ++dj)
	;
      eu -= !!(dj - uw - 1);
    }
}