https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79977
Bug ID: 79977 Summary: [7 Regression] [graphite] ICE in outermost_loop_in_sese, at sese.c:300 w/ -O2 -floop-nest-optimize Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- gcc-7.0.0-alpha2017030 snapshot ICEs when compiling the following snippet w/ -O2 -floop-nest-optimize: int uo[3]; int di; void i7 (int mp) { int l4; wh: while (l4 > 1) { for (di = 0; di < 2; ++di) uo[di] = 0; for (di = 0; di < 3; ++di) { uo[di] = 0; if (mp != 0) goto wh; } --l4; } } % gcc-7.0.0-alpha20170305 -O2 -floop-nest-optimize -c wllzygh3.c wllzygh3.c: In function 'i7': wllzygh3.c:5:1: internal compiler error: in outermost_loop_in_sese, at sese.c:300 i7 (int mp) ^~