1/* { dg-do compile } */
2/* { dg-options "-O2" } */
3/* { dg-final { scan-assembler-not "andl" } } */
4
5unsigned int foo(unsigned int x)
6{
7  unsigned int t = x & ~1;
8  return t | 1;
9}
10
11