mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-24 19:30:34 +08:00
toplev.c (rest_of_compilation): Do not set reload_completed.
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. From-SVN: r24400
This commit is contained in:
parent
3d0ec3b37c
commit
2ae7465155
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
@ -1116,6 +1116,11 @@ reload (first, global, dumpfile)
|
||||
}
|
||||
}
|
||||
|
||||
/* 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.
|
||||
|
@ -3967,8 +3967,6 @@ rest_of_compilation (decl)
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user