From 9fd99fa7fb2136182a2f4d6c4184807febd5d6a4 Mon Sep 17 00:00:00 2001 From: rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Sun, 7 May 2000 00:38:26 +0000 Subject: [PATCH] * flow.c (mark_set_1): Don't update conditional life info if the register is not_dead. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33749 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/flow.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cca7d64c985f..1c53bd771596 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/flow.c b/gcc/flow.c index 3b6635bec607..5e05b02987e3 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 -- GitLab