diff options
author | Jeffrey A Law <law@cygnus.com> | 1998-10-23 20:34:52 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-10-23 14:34:52 -0600 |
commit | b590bbfd110bc151f231c3a1ea80200f2b0bb60b (patch) | |
tree | 1d73f2283937897b5c16bdd9172d16d4862345ab /gcc | |
parent | a1ef0af4d2446643321edaee44b04c741a3ba0db (diff) | |
download | gcc-b590bbfd110bc151f231c3a1ea80200f2b0bb60b.zip gcc-b590bbfd110bc151f231c3a1ea80200f2b0bb60b.tar.gz gcc-b590bbfd110bc151f231c3a1ea80200f2b0bb60b.tar.bz2 |
flow.c (life_analysis_1): Enable "rescan" code after reload.
* flow.c (life_analysis_1): Enable "rescan" code after reload.
(propagate_block): Delete dead code after reload.
From-SVN: r23262
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/flow.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7762367..76ff258 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) + * flow.c (life_analysis_1): Enable "rescan" code after reload. + (propagate_block): Delete dead code after reload. + * sched.c (update_flow_info): Revert Oct 19, 1998 change. Brings back Oct 15, 1998 change. * haifa-sched.c (update_flow_info): Likewise. @@ -1457,8 +1457,7 @@ life_analysis_1 (f, nregs) basic_block_live_at_end[i], 0, j, { consider = 1; - if (!reload_completed - && REGNO_REG_SET_P (basic_block_significant[i], j)) + if (REGNO_REG_SET_P (basic_block_significant[i], j)) { must_rescan = 1; goto done; @@ -1797,7 +1796,7 @@ propagate_block (old, first, last, final, significant, bnum) "delete" it by turning it into a NOTE of type NOTE_INSN_DELETED. We could really delete it with delete_insn, but that can cause trouble for first or last insn in a basic block. */ - if (!reload_completed && final && insn_is_dead) + if (final && insn_is_dead) { PUT_CODE (insn, NOTE); NOTE_LINE_NUMBER (insn) = NOTE_INSN_DELETED; |