summaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorChangpeng Fang <changpeng.fang@amd.com>2010-04-06 19:19:41 +0000
committerSebastian Pop <spop@gcc.gnu.org>2010-04-06 19:19:41 +0000
commitc86a39477896e0ca2814c0a30fa1035f0c7e5747 (patch)
tree5c2e7b3831187237cfc85fe969db922f6bbebe66 /gcc/passes.c
parentf4d1d50a5a78c87a06a269f25fbfc7ff29896d14 (diff)
downloadgcc-c86a39477896e0ca2814c0a30fa1035f0c7e5747.tar.gz
re PR tree-optimization/32824 (Missed reduction vectorizer after store to global is LIM'd)
Fix PR32824. 2010-04-06 Changpeng Fang <changpeng.fang@amd.com> PR middle-end/32824 * passes.c (init_optimization_passes): Move pass_lim before pass_copy_prop and pass_dce_loop. * gcc.dg/vect/pr32824: New. From-SVN: r158018
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index 33d52affc77..8791ebc9dbc 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -885,9 +885,9 @@ init_optimization_passes (void)
{
struct opt_pass **p = &pass_tree_loop.pass.sub;
NEXT_PASS (pass_tree_loop_init);
+ NEXT_PASS (pass_lim);
NEXT_PASS (pass_copy_prop);
NEXT_PASS (pass_dce_loop);
- NEXT_PASS (pass_lim);
NEXT_PASS (pass_tree_unswitch);
NEXT_PASS (pass_scev_cprop);
NEXT_PASS (pass_record_bounds);