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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
fold-abs-1.c
blob
2e69a207577ebe99d0d936c9c0da95c1753b7713
1
/* { dg-do compile } */
2
/* { dg-options "-O1 -fwrapv" } */
3
#define ABS(x) (x > 0 ? x : -x)
4
int
f
(
int
a
,
int
b
) {
5
if
((
ABS
(
a
) |
b
) !=
0
)
return
1
;
6
else return
0
;
7
}