Created attachment 33283 [details] reduced testcase Compiler output: $ gcc -O -fno-tree-ch -fno-tree-cselim -fno-tree-dominator-opts -fno-tree-reassoc -fno-tree-sink testcase.c testcase.c: In function 'foo': testcase.c:4:1: internal compiler error: in fix_loop_structure, at loop-init.c:208 foo () ^ 0x9defdf fix_loop_structure(bitmap_head*) /mnt/svn/gcc-trunk/gcc/loop-init.c:208 0xcb93fe gate_loop /mnt/svn/gcc-trunk/gcc/tree-ssa-loop.c:62 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r213777 - ICE 4_9 r212703 - OK 4_8 r212702 - OK
I will have a look.
Author: rguenth Date: Thu Aug 14 13:14:24 2014 New Revision: 213961 URL: https://gcc.gnu.org/viewcvs?rev=213961&root=gcc&view=rev Log: 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. Modified: trunk/gcc/ChangeLog trunk/gcc/passes.def trunk/gcc/tree-pass.h trunk/gcc/tree-ssa-loop.c
Fixed.