diff options
author | Richard Henderson <rth@cygnus.com> | 1999-10-27 15:22:34 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-10-27 15:22:34 -0700 |
commit | e218fc41a887ae8f97649ad0ac79400654458f33 (patch) | |
tree | 53ef066b9c79de195ac18303654977657339d8de /gcc/toplev.c | |
parent | 163537f7f15b3727538f9c0b5f82efbd7d56f8a8 (diff) | |
download | gcc-e218fc41a887ae8f97649ad0ac79400654458f33.zip gcc-e218fc41a887ae8f97649ad0ac79400654458f33.tar.gz gcc-e218fc41a887ae8f97649ad0ac79400654458f33.tar.bz2 |
jump.c (jump_optimize_1): If we did cross-jumping, and the data will matter, rebuild the CFG.
* jump.c (jump_optimize_1): If we did cross-jumping, and
the data will matter, rebuild the CFG.
* reg-stack.c (reg_to_stack): Only (re)build the CFG if
not optimizing. Don't run shorten_branches.
* toplev.c (rest_of_compilation): Run shorten_branches after
reg_to_stack.
From-SVN: r30223
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r-- | gcc/toplev.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c index 35f88d0..1933b41 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -4333,12 +4333,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)); @@ -4356,6 +4350,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, |