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
* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr17024-1.c
blob
d8bdf012b9dbb07febedf652dad7d877fd6b578b
1
/* PR middle-end/17024 */
2
/* { dg-do compile } */
3
/* { dg-options "-funsafe-math-optimizations" } */
4
5
#define MAX2(a,b) (((a)>(b)) ? (a) : (b))
6
7
void
C
(
double
);
8
9
void
i
(
int
k
)
10
{
11
double
c
[
1
];
12
C
(
MAX2
(
0
.,
c
[
k
]));
13
return
;
14
}
15