1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 int
5 f1 (int x)
6 {
7 if (x & 1)
8 return 1;
9 return x;
10 }
11
12 /* { dg-final { scan-assembler "(tst|ands)\t(x|w)\[0-9\]*.*1" } } */