More help to my port.
Jim Wilson
wilson@tuliptree.org
Mon Sep 8 18:05:00 GMT 2003
On Mon, 2003-09-08 at 01:58, Anders Ådland wrote:
> Only the first insn is checked with GO_IF_LEGITIMATE_ADDRESS:
> (set (mem:SI (reg:SI 76))
> (reg:SI 83))
> The other two are not.
I pointed you at reload. Did you look at it? You should be stepping
through the part of reload I pointed you at to see what is happening.
The .greg dump file should be particularly instructive here, because
there should be a list of reloads generated for the bad instruction. If
this list of reloads is missing or incomplete, then that is where the
problem lies.
> Do I have to define LEGITIMIZE_RELOAD_ADDRESS as Alexandre proposed?
It shouldn't necessary. I believe there are some rare cases where you
might need to define it for correctness reasons, but these cases should
really be considered reload bugs, and I don't believe your case is one
of them.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
More information about the Gcc
mailing list