* tree-ssa-propagate.c (set_rhs): Fail if EXPR is COMPOUND_EXPR.

From-SVN: r87984
This commit is contained in:
Jakub Jelinek 2004-09-23 23:03:04 +02:00 committed by Jakub Jelinek
parent b28b16008e
commit 31d66fa938
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2004-09-23 Jakub Jelinek <jakub@redhat.com>
* tree-ssa-propagate.c (set_rhs): Fail if EXPR is COMPOUND_EXPR.
2004-09-23 Diego Novillo <dnovillo@redhat.com>
Jakub Jelinek <jakub@redhat.com>

View file

@ -575,6 +575,8 @@ set_rhs (tree *stmt_p, tree expr)
if (!is_gimple_val (TREE_OPERAND (expr, 0)))
return false;
}
else if (code == COMPOUND_EXPR)
return false;
switch (TREE_CODE (stmt))
{