This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Troubles building gcc-3.2.1 --target=m68k-linux
>You need to have REG_OK_STRICT and !REG_OK_STRICT versions of the macro
>GO_IF_LEGITIMATE_ADDRESS. See for instance the definition in the mips port.
>
>When strict is false, you can accept pseudo-regs where a reg is OK.
>When strict is true, you can't accept pseudo-regs where a reg is OK, because
>a pseudo-reg is actually a MEM refering to a stack-slot.
I was wondering about that, since I see that in the i386 version.
Eventually I'll include that in the new GO_IF_LEGITIMATE_ADDRESS for m68k.
What I'm *more* concerned (at the moment) is why as a macro
GO_IF_LEGITIMATE_ADDRESS works, but as a function it fails....
--
Peter Barada Peter.Barada@motorola.com
Wizard 781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax)