repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/67273
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
thumb-comparisons.c
blob
45be2cf74f075d24daa6d0336fa4c02486fc8353
1
/* { dg-do compile } */
2
/* { dg-options "-mthumb -Os" } */
3
/* { dg-require-effective-target arm_thumb1_ok } */
4
5
int
foo
(
char
ch
)
6
{
7
switch
(
ch
) {
8
case
'-'
:
9
case
'?'
:
10
case
'/'
:
11
case
99
:
12
return
1
;
13
default
:
14
return
0
;
15
}
16
}
17
18
/* { dg-final { scan-assembler-times "cmp\[\\t \]*r.,\[\\t \]*#63" 1 } } */