From: Jeffrey A Law Date: Fri, 23 Oct 1998 20:25:09 +0000 (+0000) Subject: sched.c (update_flow_info): Revert Oct 19, 1998 change. X-Git-Tag: prereleases/libgcj-0.1~2353 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1ef0af4d2446643321edaee44b04c741a3ba0db;p=thirdparty%2Fgcc.git sched.c (update_flow_info): Revert Oct 19, 1998 change. * 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. Real fix was in flow.c... From-SVN: r23261 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7c0212d3e9cc..776236750a50 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -26,6 +26,9 @@ Fri Oct 23 15:34:14 1998 Kaveh R. Ghazi 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 abc45d333842..806bb396d886 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 ce2f248e00e6..1d81407c3f42 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 ();