libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr90071.c
blob1c4099cefe0c426c328330cd992bdb2994580c44
1 /* { dg-do compile } */
2 /* { dg-require-effective-target indirect_jumps } */
3 /* { dg-require-effective-target label_values } */
5 int a;
6 static int b;
8 void
9 foo ()
11 int d;
12 int e = (int) (__INTPTR_TYPE__) &&f;
13 void *g = &&h;
14 h: ++e;
15 if (a)
16 i: goto *g;
17 for (;;)
19 e = 0;
20 if (b)
21 goto i;
24 goto *(void*)(__INTPTR_TYPE__)({ d || e < 0 || e >= 2; });
25 &e;