diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-11 21:48:11 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-09-11 21:48:11 +0000 |
commit | 024e445d2db38a6be3ca98818b88308ed6f1a699 (patch) | |
tree | ad1bf6e763c08f623a606f6642b9a2c80ea5bb96 /gcc/tree-ssa-phiprop.c | |
parent | d3b4b97f7c84f71f93eba50e0b039f85ab73470d (diff) | |
download | gcc-024e445d2db38a6be3ca98818b88308ed6f1a699.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140300 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-phiprop.c')
-rw-r--r-- | gcc/tree-ssa-phiprop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-phiprop.c b/gcc/tree-ssa-phiprop.c index ff3ee4a439f..27ad87ddf55 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); } |