Test case: void block_diffs_C(int *ss, int *new, int ns, int *newp) { int x, y, s = 0; for (x = 0; x < 8; x++) { newp = new++; for (y = 0; y < 4; y++) s += *newp++; *ss = s; } }
With GNU C version 4.1.0 20050810 (experimental) (alphaev68-unknown-linux-gnu) at -O3, I get: 363.c: In function 'block_diffs_C': 363.c:1: internal compiler error: tree check: expected ssa_name, have error_mark in verify_ssa, at tree-ssa.c:746 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. -fno-ivopts makes it go away. -- Summary: [4.0 regression] ICE with ivopts Product: gcc Version: 4.1.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: falk at debian dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23509