This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/27661] ICE in subst_reloads
- From: "krebbel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 May 2006 16:59:44 -0000
- Subject: [Bug rtl-optimization/27661] ICE in subst_reloads
- References: <bug-27661-12182@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from krebbel at gcc dot gnu dot org 2006-05-18 16:59 -------
Thanks for your comprehensive debugging!
At first glance I would say reload should take a word_mode register and reload
the constant. The code added by your patch to legitimate_address_p says that a
single number is not a valid address which isn't true. We also allow
reg+reg+constant in legitimate_address_p and rely on reload to fix this for Q
and S constraints and I think the same should happen here as well.
--
krebbel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-05-18 16:59:37
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27661