OSDN Git Service

* flow.c (mark_set_1): Respect not_dead when updating reg_live.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 May 2000 21:36:35 +0000 (21:36 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 6 May 2000 21:36:35 +0000 (21:36 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33736 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/flow.c

index ad5ebc5..a249777 100644 (file)
@@ -3,6 +3,8 @@
        * flow.c (split_edge): Don't allocate global_live_at_start for
        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>
 
        * cpphash.h: Remove conditional #define of __extension__.
index fa4e11a..2adad8c 100644 (file)
@@ -4373,6 +4373,7 @@ mark_set_1 (pbi, code, reg, cond, insn, flags)
 
       /* Mark the register as being dead.  */
       if (some_was_live
+         && ! not_dead
          /* The stack pointer is never dead.  Well, not strictly true,
             but it's very difficult to tell from here.  Hopefully
             combine_stack_adjustments will fix up the most egregious