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 from mainline.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
20040703-1.c
blob
ad96198a4e131b09739f74cf04cc4d98bce97dc4
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"} } */
13
/* { dg-final { cleanup-tree-dump "dom2" } } */