aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.def
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-08-14 13:14:24 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-08-14 13:14:24 +0000
commit7d39012c24ded7a9d1d4eb1fa2916181dac3ada2 (patch)
tree41dc7049a44602f9a0155dd8016a9abe934679e6 /gcc/passes.def
parent833f94c0119e638645a2adc461e385dc1ffc5e2b (diff)
downloadgcc-7d39012c24ded7a9d1d4eb1fa2916181dac3ada2.zip
gcc-7d39012c24ded7a9d1d4eb1fa2916181dac3ada2.tar.gz
gcc-7d39012c24ded7a9d1d4eb1fa2916181dac3ada2.tar.bz2
re PR tree-optimization/62081 (ICE: in fix_loop_structure, at loop-init.c:208 with -fno-tree-ch -fno-tree-cselim -fno-tree-dominator-opts -fno-tree-reassoc -fno-tree-sink)
2014-08-14 Richard Biener <rguenther@suse.de> PR tree-optimization/62081 * tree-ssa-loop.c (pass_fix_loops): New pass. (pass_tree_loop::gate): Do not fixup loops here. * tree-pass.h (make_pass_fix_loops): Declare. * passes.def: Schedule pass_fix_loops before GIMPLE loop passes. From-SVN: r213961
Diffstat (limited to 'gcc/passes.def')
-rw-r--r--gcc/passes.def5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/passes.def b/gcc/passes.def
index f13df6c..334c670 100644
--- a/gcc/passes.def
+++ b/gcc/passes.def
@@ -200,7 +200,10 @@ along with GCC; see the file COPYING3. If not see
NEXT_PASS (pass_asan);
NEXT_PASS (pass_tsan);
/* Pass group that runs when 1) enabled, 2) there are loops
- in the function. */
+ in the function. Make sure to run pass_fix_loops before
+ to discover/remove loops before running the gate function
+ of pass_tree_loop. */
+ NEXT_PASS (pass_fix_loops);
NEXT_PASS (pass_tree_loop);
PUSH_INSERT_PASSES_WITHIN (pass_tree_loop)
NEXT_PASS (pass_tree_loop_init);