OSDN Git Service

2010-01-26 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / and-1.c
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-*-* } } } */
6
7 int f(int y)
8 {
9   return y & ~(y & -y);
10 }