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
Merge to HEAD at tree-cleanup-merge-20041024 .
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
20040703-1.c
blob
8f6ae167d3d3df0b0d76728288e6ae544b97613a
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-dom2" } */
3
4
float
foo
(
float
x
)
5
{
6
x
+=
1
;
7
x
-=
1
;
8
return
x
;
9
}
10
11
/* We should *not* fold the arithmetic. */
12
/* { dg-final { scan-tree-dump-times "0.0" 0 "dom2"} } */