aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/haifa-sched.c16
-rw-r--r--gcc/sched.c16
3 files changed, 5 insertions, 30 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7c0212d..7762367 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -26,6 +26,9 @@ Fri Oct 23 15:34:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
Fri Oct 23 13:12:35 1998 Jeffrey A Law (law@cygnus.com)
+ * sched.c (update_flow_info): Revert Oct 19, 1998 change. Brings
+ back Oct 15, 1998 change.
+ * haifa-sched.c (update_flow_info): Likewise.
* flow.c (life_analysis_1): Delete CLOBBER insns after reload.
* mn10200.md (truncated shift): Accept constant inputs too.
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index abc45d3..806bb39 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -7987,21 +7987,7 @@ update_flow_info (notes, first, last, orig_insn)
register that was not needed by this instantiation of the
pattern, so we can safely ignore it. */
if (insn == first)
- {
- /* We have accurate death notes after reload now, but this
- code is still necessary. Consider splitting a store into
- (subreg:DF (reg:DC) 0). The death notes will claim the
- entire DCmode value is dead. But after splitting we know
- that only part of it is dead. Ie, the splitting action
- actually eliminated the death of one or more hard
- registers. */
- if (reload_completed && REG_NOTE_KIND (note) == REG_DEAD)
- {
- XEXP (note, 1) = REG_NOTES (insn);
- REG_NOTES (insn) = note;
- break;
- }
-
+ {
if (REG_NOTE_KIND (note) != REG_UNUSED)
abort ();
diff --git a/gcc/sched.c b/gcc/sched.c
index ce2f248..1d81407 100644
--- a/gcc/sched.c
+++ b/gcc/sched.c
@@ -3828,21 +3828,7 @@ update_flow_info (notes, first, last, orig_insn)
register that was not needed by this instantiation of the
pattern, so we can safely ignore it. */
if (insn == first)
- {
- /* We have accurate death notes after reload now, but this
- code is still necessary. Consider splitting a store into
- (subreg:DF (reg:DC) 0). The death notes will claim the
- entire DCmode value is dead. But after splitting we know
- that only part of it is dead. Ie, the splitting action
- actually eliminated the death of one or more hard
- registers. */
- if (reload_completed && REG_NOTE_KIND (note) == REG_DEAD)
- {
- XEXP (note, 1) = REG_NOTES (insn);
- REG_NOTES (insn) = note;
- break;
- }
-
+ {
if (REG_NOTE_KIND (note) != REG_UNUSED)
abort ();