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
- From: Jim Wilson <wilson at redhat dot com>
- To: Peter Barada <pbarada at mail dot wm dot sps dot mot dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 10 Dec 2002 12:58:46 -0500
- Subject: Re: Troubles building gcc-3.2.1 --target=m68k-linux
- References: <200212101727.gBAHRC107486@hyper.wm.sps.mot.com>
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.
Jim