http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55697
Markus Trippelsdorf <markus at trippelsdorf dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markus at trippelsdorf dot | |de --- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-12-14 21:26:23 UTC --- Reduced: markus@x4 tmp % cat test.i int a[0]; int fn1 () { int *b=0; int i, j=0; do { int n = *b++; for (i = 0; i < 1; ++i) n = *b++; a[++j] = n - '0'; b -= 6; } while (b); return 0; } markus@x4 tmp % gcc -c -O2 test.i test.i: In function ‘fn1’: test.i:3:1: internal compiler error: in remove_redundant_iv_tests, at tree-ssa-loop-ivcanon.c:559