diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-21 12:31:52 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-10-21 12:31:52 +0000 |
commit | ce75c7c2ef95761685b1dae15cef8484ef1997f8 (patch) | |
tree | 878d4b23934e9e5abb2c2f7133ebfae4820920c8 /gcc/tree-ssa-phiopt.c | |
parent | 718c878a7bf5e505dc1cffce78702e66be0b8970 (diff) | |
download | gcc-ce75c7c2ef95761685b1dae15cef8484ef1997f8.tar.gz |
2014-10-21 Richard Biener <rguenther@suse.de>
* tree-ssa-phiopt.c (value_replacement): Properly verify we
are the non-singleton PHI.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216510 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
-rw-r--r-- | gcc/tree-ssa-phiopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c index f62010fd2d9..cac3fd600e4 100644 --- a/gcc/tree-ssa-phiopt.c +++ b/gcc/tree-ssa-phiopt.c @@ -814,7 +814,7 @@ value_replacement (basic_block cond_bb, basic_block middle_bb, for the edges e0 and e1 then we can remove the middle basic block. */ if (emtpy_or_with_defined_p && single_non_singleton_phi_for_edges (phi_nodes (gimple_bb (phi)), - e0, e1)) + e0, e1) == phi) { replace_phi_edge_with_variable (cond_bb, e1, phi, arg); /* Note that we optimized this PHI. */ |