aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>2000-05-06 17:38:26 -0700
committerRichard Henderson <rth@gcc.gnu.org>2000-05-06 17:38:26 -0700
commitf0acaf02b5e7e9d2727c19d89c7ff5d7ec329eb0 (patch)
tree65be6dc3e1676c613599592b5009d9ec147127ab
parent179977c13abc237a74de8ff8db74ff892186c68e (diff)
downloadgcc-f0acaf02b5e7e9d2727c19d89c7ff5d7ec329eb0.zip
gcc-f0acaf02b5e7e9d2727c19d89c7ff5d7ec329eb0.tar.gz
gcc-f0acaf02b5e7e9d2727c19d89c7ff5d7ec329eb0.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/flow.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cca7d64..1c53bd7 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 3b6635b..5e05b02 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