blob: 3f983c042a72be06031a38efeb22223d5787e713 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-require-effective-target nonlocal_goto } */
long buf[5];
int bar (void);
int
foo (int x)
{
int y = __builtin_setjmp (buf);
while (x != 3 && x && x && x != 2)
x = bar ();
return y;
}