aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2012-06-09 16:27:52 +0000
committerRichard Henderson <rth@redhat.com>2012-06-09 16:27:52 +0000
commitaf6c4ab6112af4a0d68dae1720d1cdd94b62c6fd (patch)
tree55f5584472a05a0e58bdd1b98b62d88b9b689b18 /gcc/passes.c
parentc82a972d7ca03278df581f8711707b92c9afa1b5 (diff)
PR c++/53602
* cfgcleanup.c (execute_jump): Rename from rest_of_handle_jump2. (pass_jump): Rename from pass_jump2. (execute_jump2, pass_jump2): New. * combine-stack-adj.c (rest_of_handle_stack_adjustments): Don't perform cfg cleanup here. Move the test of PUSH_ROUNDING and ACCUMULATE_OUTGOING_ARGS test... (gate_handle_stack_adjustments): ... here. * passes.c (init_optimization_passes): Update for pass_jump2 rename. Place new pass_jump2 after pass_stack_adjustments. * tree-pass.h (pass_jump): Declare. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@188360 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index bfd4ce34087..3974231562a 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -1515,7 +1515,7 @@ init_optimization_passes (void)
struct opt_pass **p = &pass_rest_of_compilation.pass.sub;
NEXT_PASS (pass_instantiate_virtual_regs);
NEXT_PASS (pass_into_cfg_layout_mode);
- NEXT_PASS (pass_jump2);
+ NEXT_PASS (pass_jump);
NEXT_PASS (pass_lower_subreg);
NEXT_PASS (pass_df_initialize_opt);
NEXT_PASS (pass_cse);
@@ -1577,6 +1577,7 @@ init_optimization_passes (void)
NEXT_PASS (pass_thread_prologue_and_epilogue);
NEXT_PASS (pass_rtl_dse2);
NEXT_PASS (pass_stack_adjustments);
+ NEXT_PASS (pass_jump2);
NEXT_PASS (pass_peephole2);
NEXT_PASS (pass_if_after_reload);
NEXT_PASS (pass_regrename);