Unable to reload subreg
René Willemink
rene.Willemink@dspfactory.ch
Thu Feb 12 09:26:00 GMT 2004
> 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.
I started debugging gcc, and found the problem:
The add instruction clobbered the cc register. When the cc register is modified, no output reloads are possible. So when I removed the (clobber (cc0)) line from the instruction, the problem was solved (except that there is still a carry bit which can be set by the add instruction).
-
Rene Willemink
More information about the Gcc
mailing list