summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/thumb-branch1.c
blob: 73f6cf78ac63a9a1a9acddaed3602ee7cffe77ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
/* { dg-options "-Os -mthumb" } */

int returnbool(int a, int b)
{
    if (a < b)
        return 1;
    return 0;
}

/* { dg-final { scan-assembler-not "eor" } } */