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
Corrected date in changelog
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
fold-reassoc-1.c
blob
46ef07118ad8ebf5ef8546020712a4e37876dfd5
1
/* { dg-do compile } */
2
/* { dg-options "-O -ffast-math -fdump-tree-original" } */
3
4
double
foo
(
double
x
)
5
{
6
return
(
x
+
0.5
-
x
-
0.5
);
7
}
8
9
/* { dg-final { scan-tree-dump "return 0.0;" "original" } } */