libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / bitint-105.c
blobd3215b1d4730c49f75b7480c298a6d5ef0ce69d5
1 /* PR middle-end/114628 */
2 /* { dg-do compile { target bitint } } */
3 /* { dg-options "-O2 -g" } */
5 int foo (int);
6 #if __BITINT_MAXWIDTH__ >= 129
7 __attribute__((returns_twice)) int bar (_BitInt(129) x);
9 void
10 baz (int x, _BitInt(129) y)
12 void *q[] = { &&l1, &&l2 };
13 l2:
14 x = foo (foo (3));
15 bar (y);
16 goto *q[x & 1];
17 l1:;
20 void
21 qux (int x, _BitInt(129) y)
23 void *q[] = { &&l1, &&l2 };
24 l2:
25 x = foo (foo (3));
26 bar (y);
27 l1:;
29 #endif