Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/20050122-2.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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 } |