This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Unable to reload subreg
- From: Jim Wilson <wilson at specifixinc dot com>
- To: René Willemink <rene dot Willemink at dspfactory dot ch>
- Cc: gcc at gcc dot gnu dot org
- Date: 11 Feb 2004 10:52:13 -0800
- Subject: RE: Unable to reload subreg
- References: <B54C07E8628E984FB7F132503EBBDE1C682CC6@mbx.dspfactory.ch>
On Wed, 2004-02-11 at 00:35, Renà Willemink wrote:
> I tried this, but the .greg file is almost empty. The only line it
> contains is: ;; Function main
Then something unusual is going wrong very early. Try debugging gcc to
see why it is failing.
There is probably an error in one of your macros relating to registers
and/or register classes. There are so many macros, and so many things
that can go wrong, that it is very difficult to comment on what might be
wrong unless you can give us more info.
> But I think that reload should be able to do this automatically, and not
> generate an error.
Yes, it should work if the port is done correctly, and there are enough
registers.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com