1/* { dg-do compile } */
2/* { dg-options "-O2 -mtune=core2" } */
3
4void foo (void);
5
6int 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