summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr57393-3.c
blob: 34cece06cbd3e7498f7efe9117bdaa72f8a05850 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* PR middle-end/57393 */
/* { dg-do compile } */

int a, b, c;
void foo (void);

int
bar (void)
{
  for (;;)
    {
      foo ();
      int d = a = 0;
      for (; a < 7; ++a)
	{
	  d--;
	  b &= c <= d;
	}
    }
}