aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@freesoft.cz>1999-12-16 11:58:12 +0100
committerJeff Law <law@gcc.gnu.org>1999-12-16 03:58:12 -0700
commit5b772bbdc0d20de1c4ab781611b5e5566ec45ecc (patch)
tree4d5d5770f6c13b2ba36f72ae7ef143cb516b5409 /gcc/toplev.c
parent8cc24765eeb0e2f6bf7431d6da7275b93d88483b (diff)
downloadgcc-5b772bbdc0d20de1c4ab781611b5e5566ec45ecc.zip
gcc-5b772bbdc0d20de1c4ab781611b5e5566ec45ecc.tar.gz
gcc-5b772bbdc0d20de1c4ab781611b5e5566ec45ecc.tar.bz2
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
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index dbe2706..a880812 100644
--- a/gcc/toplev.c
+++ b/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,