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
Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
arm
/
pr55642.c
blob
a7defa77d5255a66f327192e570421b9da73511e
1
/* { dg-options "-mthumb -O2" } */
2
/* { dg-do compile } */
3
/* { dg-require-effective-target arm_thumb2_ok } */
4
5
extern
int
abs
(
int
);
6
7
int
8
foo
(
int
v
)
9
{
10
register
int
i
asm
(
"r0"
);
11
register
int
j
asm
(
"r1"
);
12
if
(
v
>
1
)
13
i
=
abs
(
j
);
14
15
return
i
;
16
}
17