https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61279
Bug ID: 61279 Summary: [4.10 Regression] ICE in loop_preheader_edge, at cfgloop.c:1668 w/ -O1 -ftree-loop-vectorize Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com gcc-4.10.0-alpha20140518 fails when compiling the following code w/ -ftree-loop-vectorize -O1 and above: int z; int d; int n(void) { int s; int *q; for (s = 0; s < 1; ++s) { int b; for (d = 0; d < 1; ++d) return 0; for (b = 0; b < 1; ++b) { int o[1] = { 0 }; q = &o[b]; } for (z = 0; z < 1; ++z) return 0; } return *q; } bb234e61.c: In function 'n': bb234e61.c:21:1: internal compiler error: in loop_preheader_edge, at cfgloop.c:1668 4.10.0-alpha20140411 works well here.