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
2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
thumb2-cond-cmp-1.c
blob
45ab605e72ea725b2da4bf7c74e81b3690f6bc7c
1
/* Use conditional compare */
2
/* { dg-options "-O2" } */
3
/* { dg-skip-if "" { arm_thumb1_ok } } */
4
/* { dg-final { scan-assembler "cmpne" } } */
5
6
int
f
(
int
i
,
int
j
)
7
{
8
if
( (
i
==
'+'
) || (
j
==
'-'
) ) {
9
return
1
;
10
}
else
{
11
return
0
;
12
}
13
}