summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr81118.c
blob: 42d83fd0b070abf00fb50c3fd218f5c4f0768005 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-additional-options "-w" } */

int a[7], b;
int c()
{
  int d, e;
  for (; d; d++)
    if (a[d])
      if (b)
	return;
      else if (d >= e)
	return 0;
}