Commit 507741dd by Richard Henderson Committed by Richard Henderson

* flow.c (mark_set_1): Respect not_dead when updating reg_live.

From-SVN: r33736
parent 6482ee51
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
* flow.c (split_edge): Don't allocate global_live_at_start for * flow.c (split_edge): Don't allocate global_live_at_start for
the new block unless the old blocks had them as well. the new block unless the old blocks had them as well.
* flow.c (mark_set_1): Respect not_dead when updating reg_live.
2000-05-06 Zack Weinberg <zack@wolery.cumb.org> 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
* cpphash.h: Remove conditional #define of __extension__. * cpphash.h: Remove conditional #define of __extension__.
......
...@@ -4373,6 +4373,7 @@ mark_set_1 (pbi, code, reg, cond, insn, flags) ...@@ -4373,6 +4373,7 @@ mark_set_1 (pbi, code, reg, cond, insn, flags)
/* Mark the register as being dead. */ /* Mark the register as being dead. */
if (some_was_live if (some_was_live
&& ! not_dead
/* The stack pointer is never dead. Well, not strictly true, /* The stack pointer is never dead. Well, not strictly true,
but it's very difficult to tell from here. Hopefully but it's very difficult to tell from here. Hopefully
combine_stack_adjustments will fix up the most egregious combine_stack_adjustments will fix up the most egregious
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment