projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75a7d5d
)
Whoops, wrong version of file.
author
Daniel Berlin
<dberlin@gcc.gnu.org>
Thu, 14 Apr 2005 15:27:18 +0000
(15:27 +0000)
committer
Daniel Berlin
<dberlin@gcc.gnu.org>
Thu, 14 Apr 2005 15:27:18 +0000
(15:27 +0000)
Sorry about that
From-SVN: r98137
gcc/tree-ssa-pre.c
patch
|
blob
|
history
diff --git
a/gcc/tree-ssa-pre.c
b/gcc/tree-ssa-pre.c
index
409ce83
..
cecc97e
100644
(file)
--- a/
gcc/tree-ssa-pre.c
+++ b/
gcc/tree-ssa-pre.c
@@
-1963,10
+1963,11
@@
compute_avail (void)
vuse_optype vuses = STMT_VUSE_OPS (stmt);
STRIP_USELESS_TYPE_CONVERSION (rhs);
- if (UNARY_CLASS_P (rhs)
+ if (
(
UNARY_CLASS_P (rhs)
|| BINARY_CLASS_P (rhs)
|| COMPARISON_CLASS_P (rhs)
|| REFERENCE_CLASS_P (rhs))
+ && !TREE_INVARIANT (rhs))
{
/* For binary, unary, and reference expressions,
create a duplicate expression with the operands