Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/pr89737.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | |
children |
rev | line source |
---|---|
145 | 1 /* { dg-do compile } */ |
2 /* { dg-require-effective-target indirect_jumps } */ | |
3 /* { dg-require-effective-target label_values } */ | |
4 /* { dg-options "-O2 -fdump-tree-profile_estimate" } */ | |
5 | |
6 int a, b; | |
7 | |
8 void c() { | |
9 &&d; | |
10 void *e = &&f, *g = &&h; | |
11 f: | |
12 __attribute__((hot)) h : __attribute__((cold)) for (; a;) goto *g; | |
13 d: | |
14 for (; b;) | |
15 goto *e; | |
16 } | |
17 | |
18 /* { dg-final { scan-tree-dump-times "predicted to even probabilities" 4 "profile_estimate"} } */ | |
19 |