This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]