Help with new port: infinite looping in reload

Robert Baruch autophile@gmail.com
Thu Dec 23 00:05:00 GMT 2004


> I didn't actually look at your source code, but it suggests something
> weird in LEGIMITIZE_RELOAD_ADDRESS.  Or maybe you are not paying
> attention to REG_OK_STRICT in GO_IF_LEGITIMATE_ADDRESS (one of the
> ickier parts of the tm.h file).  Or it could be something else
> entirely.

I looked at other processors' GO_IF_LEGITIMATE_ADDRESS routines, and I
added a section of code which OK'd an RTL of the form plus (reg
const_int) with the int >= 0.

That seemed to get me a little further. At least, it doesn't hit that
infinite loop anymore. Now on to the next problem...

Thanks!

--Rob



More information about the Gcc mailing list