On 06/16/2011 04:46 AM, Denis Chertykov wrote: > I forgot to said that suggestion from Bernd Schmidt about > HARD_FRAME_POINTER_REGNUM seems very useful: >> Maybe it would help for your port to define a separate >> FRAME_POINTER_REGNUM, able to hold an HImode value, which then gets >> eliminated to HARD_FRAME_POINTER_REGNUM? This mechanism is used on many >> other ports if you need examples. > > It's not related to addressing modes but it's related to frame pointer bugs. Yes, that was the first thing I did while investigating G-J's spill failure. It didn't help that, of course, but I kept it around in my tree anyway. This probably doesn't apply by itself, as is, but for the record... r~