------- 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