summaryrefslogtreecommitdiff
path: root/gcc/ssa.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-20 14:44:04 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-20 14:44:04 +0000
commit5c41325067fcc80cee540bc01c532db570dc9869 (patch)
tree0032761ddc44f635a09dd67cb15e4cb7e9856384 /gcc/ssa.c
parent3b385bf28cbf4db73151dc8823d6abc2e8021b01 (diff)
downloadgcc-5c41325067fcc80cee540bc01c532db570dc9869.tar.gz
* ssa.c (rename_block): Update parameter to remove_phi_alternative
(convert_from_ssa): Do create REG_DEAD and REG_UNUSED notes when re-running life analysis. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43473 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ssa.c')
-rw-r--r--gcc/ssa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ssa.c b/gcc/ssa.c
index 79382aa7171..3bb1dff7b8e 100644
--- a/gcc/ssa.c
+++ b/gcc/ssa.c
@@ -1065,7 +1065,7 @@ rename_block (bb, idom)
consider those edges. */
if (reg == NULL || reg == RENAME_NO_RTX)
{
- if (! remove_phi_alternative (phi, bb))
+ if (! remove_phi_alternative (phi, b))
abort ();
}
else
@@ -2153,8 +2153,8 @@ convert_from_ssa()
any significant dead code at this point, except perhaps dead
stores. So do not take the time to perform dead code elimination.
- We also do not need death notes, so don't bother creating them. */
- life_analysis (insns, NULL, 0);
+ Register coalescing needs death notes, so generate them. */
+ life_analysis (insns, NULL, PROP_DEATH_NOTES);
/* Figure out which regs in copies and phi nodes don't conflict and
therefore can be coalesced. */