* toplev.c (rest_of_compilation): Do not set reload_completed.
* reload1.c (reload): Set reload_completed before calling
cleanup_subreg_operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24400
138bc75d-0d04-0410-961f-
82ee72b054a4
+Wed Dec 23 00:10:01 1998 Jeffrey A Law (law@cygnus.com)
+
+ * toplev.c (rest_of_compilation): Do not set reload_completed.
+ * reload1.c (reload): Set reload_completed before calling
+ cleanup_subreg_operands.
+
Tue Dec 22 23:58:31 1998 Richard Henderson <rth@cygnus.com>
* reload1.c (emit_reload_insns): Check `set' not null before use.
}
}
+ /* We must set reload_completed now since the cleanup_subreg_operands call
+ below will re-recognize each insn and reload may have generated insns
+ which are only valid during and after reload. */
+ reload_completed = 1;
+
/* Make a pass over all the insns and delete all USEs which we inserted
only to tag a REG_EQUAL note on them. Remove all REG_DEAD and REG_UNUSED
notes. Delete all CLOBBER insns and simplify (subreg (reg)) operands.
if (failure)
goto exit_rest_of_compilation;
- reload_completed = 1;
-
/* Do a very simple CSE pass over just the hard registers. */
if (optimize > 0)
reload_cse_regs (insns);