Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
;
}