https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69068
Bug ID: 69068 Summary: [6 Regression] ICE in bb_contains_loop_phi_nodes, at graphite-isl-ast-to-gimple.c:1279 Product: gcc Version: 6.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: --- At least gcc-6.0.0-alpha20151220 and gcc-6.0.0-alpha20151227 ICE when compiling the following reduced snippet w/ -O1 -floop-nest-optimize: int qo; int zh[2]; void td(void) { int ly, en; for (ly = 0; ly < 2; ++ly) for (en = 0; en < 2; ++en) zh[en] = ((qo == 0) || (((qo * 2) != 0))) ? 1 : -1; } % gcc-6.0.0-alpha20151227 -O1 -floop-nest-optimize -c kj3xpeme.c kj3xpeme.c: In function 'td': kj3xpeme.c:5:1: internal compiler error: in bb_contains_loop_phi_nodes, at graphite-isl-ast-to-gimple.c:1279 td(void) ^~