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