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
gcc:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
tree-ssa
/
20040703-1.c
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" } } */