As mentioned here: http://gcc.gnu.org/ml/gcc-patches/2010-02/msg00780.html Just building a simple: int main(void) { return 0; } ICEs at -O1 or -O2. This ICEs as we call add_reg_note with an insn note: (note 21 12 22 2 NOTE_INSN_DELETED) And REG_NOTES causes the next insn rtx gets modified for some reason.
-- Summary: [4.5 Regression] SPU-elf ICEs on simple programs Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, build Severity: blocker Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org GCC target triplet: spu-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43156