summaryrefslogtreecommitdiff
path: root/gcc/passes.def
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-17 17:50:10 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-17 17:50:10 +0000
commitb2e502cdcf6b2a1a8173c5e0032476bf7994e7a7 (patch)
tree2174f734fb733aa40ea263276a82ee2797d9893c /gcc/passes.def
parent49372306ca56d8487df13d4946cff837c14f7dd5 (diff)
downloadgcc-b2e502cdcf6b2a1a8173c5e0032476bf7994e7a7.tar.gz
PR middle-end/57904
* passes.def: Reorder pass_copy_prop, pass_unrolli, pass_ccp sequence so that pass_ccp runs first. PR middle-end/57904 * gfortran.dg/pr57904.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206723 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/passes.def')
-rw-r--r--gcc/passes.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/passes.def b/gcc/passes.def
index 95ea8cecb2e..c98b048eafc 100644
--- a/gcc/passes.def
+++ b/gcc/passes.def
@@ -132,11 +132,11 @@ along with GCC; see the file COPYING3. If not see
They ensure memory accesses are not indirect wherever possible. */
NEXT_PASS (pass_strip_predict_hints);
NEXT_PASS (pass_rename_ssa_copies);
- NEXT_PASS (pass_copy_prop);
- NEXT_PASS (pass_complete_unrolli);
NEXT_PASS (pass_ccp);
/* After CCP we rewrite no longer addressed locals into SSA
form if possible. */
+ NEXT_PASS (pass_copy_prop);
+ NEXT_PASS (pass_complete_unrolli);
NEXT_PASS (pass_phiprop);
NEXT_PASS (pass_forwprop);
NEXT_PASS (pass_object_sizes);