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
* doc/passes.texi: Document predictive commoning.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
fold-div-2.c
1
/* { dg-do compile } */
2
/* { dg-options "-ffinite-math-only -fdump-tree-gimple" } */
3
4
double f(double x)
5
{
6
return x / x;
7
}
8
9
/* Division should be turned into 1.0. */
10
11
/* { dg-final { scan-tree-dump-not " / " "gimple" } } */
12
/* { dg-final { cleanup-tree-dump "gimple" } } */
13