Command line: gcc -O1 -fstrict-overflow -fgraphite-identity testcase.c ------ testcase.c ------ void foo(int x[]) { int i, j; for (i = 0; i < 2; i++) for (j = 0; j < 2; j++) x[i] = x[i*j]; } ------------------------ (almost the same as testsuite/gcc.dg/tree-ssa/pr34635.c)
Tested revisions: trunk r157292 - crash trunk r156999 - crash trunk r153685 - crash 4.4 r157120 - OK Output: $ /mnt/svn/gcc-trunk/binary-156999-lto/bin/gcc -O1 -fstrict-overflow -fgraphite-identity testcase.c testcase.c: In function 'foo': testcase.c:1:6: internal compiler error: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:713 -- Summary: [4.5 Regression] ICE: in scan_tree_for_params_right_scev, at graphite-sese-to- poly.c:713 with -O1 -fstrict-overflow -fgraphite- identity Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43306