From: Jakub Jelinek Date: Thu, 23 Sep 2004 21:03:04 +0000 (+0200) Subject: * tree-ssa-propagate.c (set_rhs): Fail if EXPR is COMPOUND_EXPR. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=31d66fa9381f5a21a80f6e9b828525da34235054;p=gcc.git * tree-ssa-propagate.c (set_rhs): Fail if EXPR is COMPOUND_EXPR. From-SVN: r87984 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 37c7d2c9ccf..4eeefe8bc68 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-09-23 Jakub Jelinek + + * tree-ssa-propagate.c (set_rhs): Fail if EXPR is COMPOUND_EXPR. + 2004-09-23 Diego Novillo Jakub Jelinek diff --git a/gcc/tree-ssa-propagate.c b/gcc/tree-ssa-propagate.c index ffb7c9c00b0..f86f13b7fdc 100644 --- a/gcc/tree-ssa-propagate.c +++ b/gcc/tree-ssa-propagate.c @@ -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)) {