Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gcc.dg
/
fold-abs-3.c
blob: fcbcb4bde08ff91da896652b1ee23004cf9ee20a [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-fdump-tree-gimple -fwrapv" } */
#define
ABS
(
x
)
(
x
>
0
?
x
:
-
x
)
int
f
(
int
a
)
{
return
ABS
(
ABS
(
a
));
}
/* { dg-final { scan-tree-dump-times "ABS" 1 "gimple" } } */