thumb-ltu.c (foo): Predefined.
[gcc.git] / gcc / testsuite / gcc.target / arm / thumb-ltu.c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_thumb1_ok } */
3 /* { dg-options "-mcpu=arm1136jf-s -mthumb -O2" } */
4
5 extern int foo ();
6 extern int bar ();
7
8 void f(unsigned a, unsigned b, unsigned c, unsigned d)
9 {
10 if (a <= b || c > d)
11 foo();
12 else
13 bar();
14 }
15
16 /* { dg-final { scan-assembler-not "uxtb" } } */