From: dberlin Date: Thu, 14 Apr 2005 15:27:18 +0000 (+0000) Subject: Whoops, wrong version of file. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8111b18f5bb19a9f178c3d450b930d537efe1169;p=thirdparty%2Fgcc.git Whoops, wrong version of file. Sorry about that git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98137 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 409ce8350445..cecc97ecb637 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