rtl-factoring.c:compute_init_costs calls compute_rtx_cost with instructions that have dangling PREV_INSN and NEXT_INSN pointers. That can lead to crashes when rtx costs depend on context.
-- Summary: compute_init_costs uses unemitted insns Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: amylaar at gcc dot gnu dot org BugsThisDependsOn: 39302 OtherBugsDependingO 39303 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39351