aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr91267.c
blob: 084bd248439f7cd5d43e7382191ee0ba5e2da863 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* { dg-do compile } */

void bar (void);
void baz (int);
char *qux (void);
int a, b;

void
foo (int f, char *d)
{
  char *e;
  while (d)
    {
      if (f)
	if (e)
	  bar ();
      baz (e - (d + a));
      b = e - d;
      d = qux ();
    }
}