summaryrefslogtreecommitdiff
path: root/gcc/passes.def
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2014-06-30 13:14:42 -0700
committerRichard Henderson <rth@gcc.gnu.org>2014-06-30 13:14:42 -0700
commitfc56f9d2843266a0d38f52b44ca5343604fccc2f (patch)
tree175c0fc497121c92660a49b3a816d2a4d4d565f2 /gcc/passes.def
parenta4a51a5262b8a12475fd7811dac3fd05f02886ce (diff)
downloadgcc-fc56f9d2843266a0d38f52b44ca5343604fccc2f.tar.gz
re PR rtl-optimization/61608 (FAIL: gcc.target/arm/epilog-1.c scan-assembler tests)
PR rtl-opt/61608 PR target/39284 * bb-reorder.c (pass_duplicate_computed_gotos::execute): Cleanup the cfg if there were any changes. * passes.def: Revert move of peephole2 after reorder_blocks; move duplicate_computed_gotos before peephole2. From-SVN: r212172
Diffstat (limited to 'gcc/passes.def')
-rw-r--r--gcc/passes.def11
1 files changed, 2 insertions, 9 deletions
diff --git a/gcc/passes.def b/gcc/passes.def
index 280cf166be3..f13df6cff26 100644
--- a/gcc/passes.def
+++ b/gcc/passes.def
@@ -396,20 +396,13 @@ along with GCC; see the file COPYING3. If not see
NEXT_PASS (pass_rtl_dse2);
NEXT_PASS (pass_stack_adjustments);
NEXT_PASS (pass_jump2);
+ NEXT_PASS (pass_duplicate_computed_gotos);
+ NEXT_PASS (pass_peephole2);
NEXT_PASS (pass_if_after_reload);
NEXT_PASS (pass_regrename);
NEXT_PASS (pass_cprop_hardreg);
NEXT_PASS (pass_fast_rtl_dce);
- NEXT_PASS (pass_duplicate_computed_gotos);
NEXT_PASS (pass_reorder_blocks);
- /* We need to run peephole2 pass after the duplicate-
- compute-gotos and the reorder-blocks pass (PR/39284).
- We have a single indirect branch in the entire function
- before duplicate-compute-gotos pass. This vastly reduces
- the size of the CFG.
- For preventing to run peephole2 pass twice, its run after
- the jump2 got removed. */
- NEXT_PASS (pass_peephole2);
NEXT_PASS (pass_branch_target_load_optimize2);
NEXT_PASS (pass_leaf_regs);
NEXT_PASS (pass_split_before_sched2);