libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-parity-3.c
blobe0355cca4a54aea48ca6bcef71a08e10b1031688
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 int foo(unsigned int x)
6 return __builtin_parity(x&1);
9 int fool(unsigned long x)
11 return __builtin_parityl(x&1);
14 int fooll(unsigned long long x)
16 return __builtin_parityll(x&1);
19 /* { dg-final { scan-tree-dump-times "__builtin_parity" 0 "optimized" } } */