From f0acaf02b5e7e9d2727c19d89c7ff5d7ec329eb0 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sat, 6 May 2000 17:38:26 -0700 Subject: [PATCH] flow.c (mark_set_1): Don't update conditional life info if the register is not_dead. * flow.c (mark_set_1): Don't update conditional life info if the register is not_dead. From-SVN: r33749 --- gcc/ChangeLog | 5 +++++ gcc/flow.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cca7d64c985..1c53bd77159 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-05-06 Richard Henderson + + * flow.c (mark_set_1): Don't update conditional life info + if the register is not_dead. + 2000-05-06 Zack Weinberg * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h. diff --git a/gcc/flow.c b/gcc/flow.c index 3b6635bec60..5e05b02987e 100644 --- a/gcc/flow.c +++ b/gcc/flow.c @@ -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