modula2: M2MetaError.{def,mod} and P2SymBuild.mod further cleanup
[official-gcc.git] / gcc / testsuite / gcc.dg / bitint-43.c
blob3a506b3d8e8522e71051643dd892bb65e80433c1
1 /* PR tree-optimization/112719 */
2 /* { dg-do compile { target bitint } } */
3 /* { dg-options "-O2" } */
5 #if __BITINT_MAXWIDTH__ >= 252
6 int
7 foo (unsigned _BitInt(239) x, unsigned _BitInt(252) y)
9 x &= 0x2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaauwb;
10 y &= 0x555555555555555555555555555555555555555555555555555555555555555uwb;
11 return __builtin_popcountg (x) + __builtin_popcountg (y);
14 int
15 bar (unsigned _BitInt(239) x, unsigned _BitInt(252) y)
17 return __builtin_parityg (x) ^ __builtin_parityg (y);
19 #endif