Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.c-torture/compile/20020807-1.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 /* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */ |
2 int x; | |
3 | |
4 static int | |
5 __attribute__ ((noinline)) | |
6 foo (void) | |
7 { | |
8 return 0; | |
9 } | |
10 | |
11 static void | |
12 __attribute__ ((noinline)) | |
13 bar (void) | |
14 { | |
15 } | |
16 | |
17 static inline void | |
18 baz (void) | |
19 { | |
20 char arr[x]; | |
21 | |
22 lab: | |
23 if (foo () == -1) | |
24 { | |
25 bar (); | |
26 goto lab; | |
27 } | |
28 } | |
29 | |
30 void | |
31 test (void) | |
32 { | |
33 baz (); | |
34 } |