From 31d66fa9381f5a21a80f6e9b828525da34235054 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 23 Sep 2004 23:03:04 +0200 Subject: [PATCH] * tree-ssa-propagate.c (set_rhs): Fail if EXPR is COMPOUND_EXPR. From-SVN: r87984 --- gcc/ChangeLog | 4 ++++ gcc/tree-ssa-propagate.c | 2 ++ 2 files changed, 6 insertions(+) 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)) { -- 2.30.2