This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/30121] ICE on frtl-abstract-sequences and mthumb.
- From: "ramana dot radhakrishnan at codito dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2006 15:14:22 -0000
- Subject: [Bug rtl-optimization/30121] ICE on frtl-abstract-sequences and mthumb.
- References: <bug-30121-7674@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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