http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55161
Bug #: 55161 Summary: internal compiler error: in schedule_reg_moves, at modulo-sched.c:731 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: amyl...@gcc.gnu.org CC: cr...@gcc.gnu.org, olege...@gcc.gnu.org Target: arm-*-* int test_04 (int* x, int c) { int s = 0; for (int i = 0; i < c; ++i) s += *--x; return s; } compiled with: ./cc1 -O2 t.c --std=c99 -mthumb -march=armv7 -fmodulo-sched worked in r192505. In r193060, we get: t.c:7:1: internal compiler error: in schedule_reg_moves, at modulo-sched.c:731