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
AVR: target/116407 - Fix linker error "relocation truncated to fit".
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
ifcvt-onecmpl-abs-1.c
blob
6e02dd7a7e8df0db489db670ab0fc4e8925e3ef3
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
/* Check code generation for one's complement version of abs */
5
6
int
onecmplabs
(
int
x
)
7
{
8
if
(
x
<
0
)
9
x
= ~
x
;
10
return
x
;
11
}
12
13
/* { dg-final { scan-assembler "\txor" } } */