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

int _setjmp (void *);
void foo (int);

void
bar (int e, int b, char c, void *d)
{
  while (b)
    {
      if (_setjmp (d))
	foo (e);
      if (c)
	{
	  e--;
	  foo (0);
	}
      e++;
    }
}