blob: 6b2a79b1a9efa3675b2e81958151b9dcd9db36d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* Use conditional compare */
/* { dg-options "-O2" } */
/* { dg-skip-if "" { arm_thumb1_ok } } */
/* { dg-final { scan-assembler "cmpgt" } } */
int f(int i, int j)
{
if ( (i >= '+') ? (j > '-') : 0)
return 1;
else
return 0;
}
|