libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / bitint-95.c
blob9794652ed13d221379284f5956b542a6f1bd053d
1 /* PR rtl-optimization/114044 */
2 /* { dg-do compile { target bitint575 } } */
3 /* { dg-options "-O -fno-tree-dce" } */
5 void
6 foo (void)
8 unsigned _BitInt (575) a = 3;
9 __builtin_clzg (a);
12 void
13 bar (void)
15 unsigned _BitInt (575) a = 3;
16 __builtin_ctzg (a);
19 void
20 baz (void)
22 signed _BitInt (575) a = 3;
23 __builtin_clrsbg (a);
26 void
27 qux (void)
29 signed _BitInt (575) a = 3;
30 __builtin_ffsg (a);
33 void
34 garply (void)
36 unsigned _BitInt (575) a = 3;
37 __builtin_parityg (a);
40 void
41 corge (void)
43 unsigned _BitInt (575) a = 3;
44 __builtin_popcountg (a);