1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mtune=core2" } */
3 
4 void foo (void);
5 
test(int x,int n)6 int test (int x, int n)
7 {
8   n &= 0x1f;
9 
10   if (x & (0x01 << n))
11     foo ();
12 
13   return 0;
14 }
15 
16 /* { dg-final { scan-assembler-not "and\[lq\]\[ \t\]" } } */
17