gcc/testsuite/gcc.dg/and-1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2" } */ |
| 3 | /* { dg-final { scan-assembler "and" { target powerpc*-*-* } } } */ |
| 4 | /* There should be no nand for this testcase (for PPC). */ |
| 5 | /* { dg-final { scan-assembler-not "nand" { target powerpc*-*-* } } } */ |
| 6 | |
| 7 | int f(int y) |
| 8 | { |
| 9 | return y & ~(y & -y); |
| 10 | } |