Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/20050122-2.c

raw
1 /* Related to PR 19484. */
2 /* { dg-require-effective-target trampolines } */
3
4 extern void foo (void) __attribute__((noreturn));
5 int n;
6
7 void
8 g (void)
9 {
10 __label__ lab;
11 void h (void) { if (n == 2) goto lab; }
12 void (*f1) (void) = foo;
13 void (*f2) (void) = h;
14
15 f2 ();
16 if (n)
17 f1 ();
18 n = 1;
19 lab:
20 n++;
21 }