Commit 67e1e279 by Jeffrey A Law Committed by Jeff Law

toplev.c (rest_of_compilation): Run shorten-branches before reg-stack for now.

        * toplev.c (rest_of_compilation): Run shorten-branches before
        reg-stack for now.

From-SVN: r31224
parent bc46716b
Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
* toplev.c (rest_of_compilation): Run shorten-branches before
reg-stack for now.
2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz> 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
......
...@@ -3572,6 +3572,15 @@ rest_of_compilation (decl) ...@@ -3572,6 +3572,15 @@ rest_of_compilation (decl)
ggc_collect (); ggc_collect ();
#endif #endif
/* Shorten branches.
Note this must run before reg-stack because of death note (ab)use
in the ia32 backend. */
TIMEVAR (shorten_branch_time,
{
shorten_branches (get_insns ());
});
#ifdef STACK_REGS #ifdef STACK_REGS
if (stack_reg_dump) if (stack_reg_dump)
open_dump_file (".20.stack", decl_printable_name (decl, 2)); open_dump_file (".20.stack", decl_printable_name (decl, 2));
...@@ -3589,12 +3598,6 @@ rest_of_compilation (decl) ...@@ -3589,12 +3598,6 @@ rest_of_compilation (decl)
ggc_collect (); ggc_collect ();
#endif #endif
/* Shorten branches. */
TIMEVAR (shorten_branch_time,
{
shorten_branches (get_insns ());
});
/* Now turn the rtl into assembler code. */ /* Now turn the rtl into assembler code. */
TIMEVAR (final_time, TIMEVAR (final_time,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment