aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiprop.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2008-09-11 21:48:11 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2008-09-11 21:48:11 +0000
commite49a540c1272d1658df36ab0c5db721ba63d3764 (patch)
treead1bf6e763c08f623a606f6642b9a2c80ea5bb96 /gcc/tree-ssa-phiprop.c
parentd96d5d541599b8061e770d708b4a61d9c50b5390 (diff)
downloadgcc-e49a540c1272d1658df36ab0c5db721ba63d3764.zip
gcc-e49a540c1272d1658df36ab0c5db721ba63d3764.tar.gz
gcc-e49a540c1272d1658df36ab0c5db721ba63d3764.tar.bz2
tree-ssa-uncprop.c (associate_equivalences_with_edges): Avoid entering the weaker equivalence recording.
2008-09-11 Richard Guenther <rguenther@suse.de> * tree-ssa-uncprop.c (associate_equivalences_with_edges): Avoid entering the weaker equivalence recording. * tree-ssa-phiprop.c (propagate_with_phi): Fix tuplification. From-SVN: r140300
Diffstat (limited to 'gcc/tree-ssa-phiprop.c')
-rw-r--r--gcc/tree-ssa-phiprop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-phiprop.c b/gcc/tree-ssa-phiprop.c
index ff3ee4a..27ad87d 100644
--- a/gcc/tree-ssa-phiprop.c
+++ b/gcc/tree-ssa-phiprop.c
@@ -247,7 +247,7 @@ propagate_with_phi (basic_block bb, gimple phi, struct phiprop_d *phivn,
|| phivn[SSA_NAME_VERSION (arg)].value == NULL_TREE))
{
gimple def_stmt = SSA_NAME_DEF_STMT (arg);
- if (gimple_code (def_stmt) != GIMPLE_ASSIGN)
+ if (!gimple_assign_single_p (def_stmt))
return false;
arg = gimple_assign_rhs1 (def_stmt);
}