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
2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
fold-sub.c
blob
28a8dd51fda43c20d29ca28b2e11e9f577efb98e
1
/* { dg-do compile } */
2
/* { dg-options "-ffinite-math-only -fdump-tree-gimple" } */
3
4
float
f
(
float
x
)
5
{
6
return
x
-
x
;
7
}
8
9
/* Substraction should be turned into 0. */
10
11
/* { dg-final { scan-tree-dump-not " - " "gimple" } } */
12
/* { dg-final { cleanup-tree-dump "gimple" } } */