diff options
author | Daniel Berlin <dberlin@gcc.gnu.org> | 2005-04-14 15:27:18 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@gcc.gnu.org> | 2005-04-14 15:27:18 +0000 |
commit | 9b1d490c22700353e160d56d8109fa6695d53fa4 (patch) | |
tree | 22a4901538c8016b31d2b84446c2225067c5b896 /gcc/tree-ssa-pre.c | |
parent | 75a7d5d0f92cc19af4f4eb510d3d9a3a7d22f77b (diff) | |
download | gcc-9b1d490c22700353e160d56d8109fa6695d53fa4.zip gcc-9b1d490c22700353e160d56d8109fa6695d53fa4.tar.gz gcc-9b1d490c22700353e160d56d8109fa6695d53fa4.tar.bz2 |
Whoops, wrong version of file.
Sorry about that
From-SVN: r98137
Diffstat (limited to 'gcc/tree-ssa-pre.c')
-rw-r--r-- | gcc/tree-ssa-pre.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 409ce83..cecc97e 100644 --- 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 |