libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / pr89737.c
blob7dc48cdce9807743e3195a59fefdaaeb59ad5100
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" } */
6 int a, b;
8 void c() {
9 &&d;
10 void *e = &&f, *g = &&h;
12 __attribute__((hot)) h : __attribute__((cold)) for (; a;) goto *g;
14 for (; b;)
15 goto *e;
18 /* { dg-final { scan-tree-dump-times "predicted to even probabilities" 4 "profile_estimate"} } */