2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / and-1.c
blobc66e4e15face9695af7ba7b9d5f7da547d73ab2e
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-final { scan-assembler "and" { target powerpc*-*-* spu-*-* } } } */
4 /* There should be no nand for this testcase (for either PPC or SPU). */
5 /* { dg-final { scan-assembler-not "nand" { target powerpc*-*-* spu-*-* } } } */
7 int f(int y)
9 return y & ~(y & -y);