aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr69209.c
blob: fd8046f217d18a2b1d8772f0b359a7a1e1ed46e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* PR tree-optimization/69209 */

int a, c, *d, e;

void foo (void) __attribute__ ((__noreturn__));

int
bar (void)
{
  int f;
  if (a)
    {
      if (e)
	foo ();
      foo ();
    }
  if (d != &f)
    foo ();
  if (!c)
    foo ();
  return f;
}

void
baz ()
{
  bar ();
}