OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.dg/torture/builtin-modf-1.c: Use -fno-finite-math-only on
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr17024-1.c
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