------- Comment #1 from ramana dot radhakrishnan at codito dot com 2006-12-08 15:14 ------- The ICE comes from compute_init_costs in rtl-factoring.c where rtx_store is set to be
/* Pattern for storing address. */ rtx_store = gen_rtx_SET (VOIDmode, reg, gen_symbol_ref_rtx_for_label (label)); which results in the following pattern being generated which is unrecognizable for the thumb. We need to make compute_rtx_cost more robust to handle such cases. Maybe a recog on the instruction to see if the backend defines such an instruction would be useful. -- ramana dot radhakrishnan at codito dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ICE on frtl-abstract- |ICE on frtl-abstract- |sequences and mthumb. |sequences and mthumb. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30121