Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.target/arm/thumb-ltu.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
145 | 2 /* { dg-skip-if "-mpure-code supports M-profile only" { *-*-* } { "-mpure-code" } } */ |
111 | 3 /* { dg-require-effective-target arm_thumb1_ok } */ |
4 /* { dg-options "-mcpu=arm1136jf-s -mthumb -O2" } */ | |
5 | |
6 extern int foo (); | |
7 extern int bar (); | |
8 | |
9 void f(unsigned a, unsigned b, unsigned c, unsigned d) | |
10 { | |
11 if (a <= b || c > d) | |
12 foo(); | |
13 else | |
14 bar(); | |
15 } | |
16 | |
17 /* { dg-final { scan-assembler-not "uxtb" } } */ |