flow.c (mark_set_1): Don't update conditional life info if the register is not_dead.
authorRichard Henderson <rth@cygnus.com>
Sun, 7 May 2000 00:38:26 +0000 (17:38 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 7 May 2000 00:38:26 +0000 (17:38 -0700)
        * flow.c (mark_set_1): Don't update conditional life info
        if the register is not_dead.

From-SVN: r33749

gcc/ChangeLog
gcc/flow.c

index cca7d64..1c53bd7 100644 (file)
@@ -1,3 +1,8 @@
+2000-05-06  Richard Henderson  <rth@cygnus.com>
+
+       * flow.c (mark_set_1): Don't update conditional life info
+       if the register is not_dead.
+
 2000-05-06  Zack Weinberg  <zack@wolery.cumb.org>
 
        * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
index 3b6635b..5e05b02 100644 (file)
@@ -4252,7 +4252,7 @@ mark_set_1 (pbi, code, reg, cond, insn, flags)
 #ifdef HAVE_conditional_execution
       /* Consider conditional death in deciding that the register needs
         a death note.  */
-      if (some_was_live
+      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