This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Help with new port: infinite looping in reload
> 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