summaryrefslogtreecommitdiff
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-23 20:34:52 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-23 20:34:52 +0000
commit5286e409a9f612a1a3562b04f591676e5ca0fe9a (patch)
tree1d73f2283937897b5c16bdd9172d16d4862345ab /gcc/flow.c
parent3069aedd8441ebbbf571c769fd43a67458d7fda8 (diff)
downloadgcc-5286e409a9f612a1a3562b04f591676e5ca0fe9a.tar.gz
* flow.c (life_analysis_1): Enable "rescan" code after reload.
(propagate_block): Delete dead code after reload. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23262 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 2d3c983655f..3fecc85713e 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -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;