Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/20051201-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 /* This failed with profiling due to a missing check in |
2 tree_flow_call_edges_add. */ | |
3 | |
4 /* { dg-do compile } */ | |
5 /* { dg-require-profiling "-fprofile-generate" } */ | |
6 /* { dg-options "-O1 -fprofile-generate -Wno-attributes" } */ | |
7 | |
8 static __attribute__ ((always_inline)) void | |
9 baz () | |
10 { | |
11 } | |
12 | |
13 static __attribute__ ((always_inline)) int | |
14 bar () | |
15 { | |
16 out: | |
17 baz (); | |
18 goto out; | |
19 } | |
20 | |
21 int | |
22 foo () | |
23 { | |
24 long res; | |
25 | |
26 res = bar (); | |
27 } |