Merge from mainline.
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / ppc-negeq0-1.c
blob37d10bc5b682f94a14f374e3bb2b4e93ab97711e
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 int foo(int x)
6 return -(x == 0);
9 int bar(int x)
11 int t = __builtin_clz(x);
12 return -(t>>5);
15 /* { dg-final { scan-assembler-not "cntlzw" } } */