mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 12:49:44 +08:00
toplev.c (rest_of_compilation): Run branch shortening after reg-stack.
* toplev.c (rest_of_compilation): Run branch shortening after reg-stack. From-SVN: r30978
This commit is contained in:
parent
8cc24765ee
commit
5b772bbdc0
@ -1,5 +1,8 @@
|
||||
Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
|
||||
|
||||
* toplev.c (rest_of_compilation): Run branch shortening after
|
||||
reg-stack.
|
||||
|
||||
* regclass.c (loop_depth): Remove
|
||||
(scan_one_insn): Do not handle LOOP_NOTE insns.
|
||||
(regclass): Go through basic blocks and set loop_cost
|
||||
|
12
gcc/toplev.c
12
gcc/toplev.c
@ -4393,12 +4393,6 @@ rest_of_compilation (decl)
|
||||
ggc_collect ();
|
||||
#endif
|
||||
|
||||
/* Shorten branches. */
|
||||
TIMEVAR (shorten_branch_time,
|
||||
{
|
||||
shorten_branches (get_insns ());
|
||||
});
|
||||
|
||||
#ifdef STACK_REGS
|
||||
if (stack_reg_dump)
|
||||
open_dump_file (".20.stack", decl_printable_name (decl, 2));
|
||||
@ -4416,6 +4410,12 @@ rest_of_compilation (decl)
|
||||
ggc_collect ();
|
||||
#endif
|
||||
|
||||
/* Shorten branches. */
|
||||
TIMEVAR (shorten_branch_time,
|
||||
{
|
||||
shorten_branches (get_insns ());
|
||||
});
|
||||
|
||||
/* Now turn the rtl into assembler code. */
|
||||
|
||||
TIMEVAR (final_time,
|
||||
|
Loading…
Reference in New Issue
Block a user