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
/
cbz.c
blob
5d3de6387777743883a3baf66b878a8a0c3f1783
1
/* { dg-do compile {target { arm_thumb2 || arm_thumb1_cbz_ok } } } */
2
/* { dg-options "-O2" } */
3
4
int
5
foo
(
int
a
,
int
*
b
)
6
{
7
if
(
a
)
8
*
b
=
1
;
9
return
0
;
10
}
11
12
/* { dg-final { scan-assembler-times "cbz\\tr\\d" 1 } } */