Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
pr17024-1.c
blob: d8bdf012b9dbb07febedf652dad7d877fd6b578b [
file
] [
log
] [
blame
]
/* PR middle-end/17024 */
/* { dg-do compile } */
/* { dg-options "-funsafe-math-optimizations" } */
#define
MAX2
(
a
,
b
)
(((
a
)>(
b
))
?
(
a
)
:
(
b
))
void
C
(
double
);
void
i
(
int
k
)
{
double
c
[
1
];
C
(
MAX2
(
0.
,
c
[
k
]));
return
;
}