PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr45617.c
blob58f977289c8648bcd21951451b60e81e1941f249
1 /* PR rtl-optimization/45617 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 int f1 (int x)
7 return (x >> 23) > 12;
9 int f2 (int x)
11 return x > ((13 << 23) - 1);
13 int f3 (int x)
15 return (x >> 23) >= 12;
17 int f4 (int x)
19 return x >= (12 << 23);
22 /* { dg-final { scan-assembler-not "sarl" } } */