PR c++/67273
[official-gcc.git] / gcc / testsuite / gcc.target / arm / thumb2-cond-cmp-2.c
blob17d9a8f76d6bc4db228bb1e7074fc829aa98aa90
1 /* Use conditional compare */
2 /* { dg-options "-O2" } */
3 /* { dg-skip-if "" { arm_thumb1_ok } } */
4 /* { dg-final { scan-assembler "cmpeq" } } */
6 int f(int i, int j)
8 if ( (i == '+') && (j == '-') ) {
9 return 1;
10 } else {
11 return 0;