aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr69214.c
blob: 61728f51a480af6055e8f021457405c813b7afe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR tree-optimization/69214 */

extern void bar (void);
extern int __setjmp (char *);

void
foo (char *p)
{
  int d = 0;
  bar ();
  if (__setjmp (p))
    return;
  long a = d;
  d = 8;
  if (!a)
    bar ();
}