* tree-ssa-propagate.c (set_rhs): Fail if EXPR is COMPOUND_EXPR.
authorJakub Jelinek <jakub@redhat.com>
Thu, 23 Sep 2004 21:03:04 +0000 (23:03 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 23 Sep 2004 21:03:04 +0000 (23:03 +0200)
From-SVN: r87984

gcc/ChangeLog
gcc/tree-ssa-propagate.c

index 37c7d2c9ccf668c6e5785862d503ebdc8cda71da..4eeefe8bc6816c771d285ee593e2b6d4ef428ced 100644 (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>
 
index ffb7c9c00b01b5fde787820c4994d35773f62b07..f86f13b7fdc5e4a2863167d170378a95035871ee 100644 (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))
     {