2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / arm / thumb2-cond-cmp-4.c
blob80e1076fd13d8390d2297fec4324c08d44afe5a8
1 /* Use conditional compare */
2 /* { dg-options "-O2" } */
3 /* { dg-skip-if "" { arm_thumb1_ok } } */
4 /* { dg-final { scan-assembler "cmpgt" } } */
6 int f(int i, int j)
8 if ( (i >= '+') ? (j <= '-') : 1)
9 return 1;
10 else
11 return 0;