This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [m68k] Fix for Bug #17114
- From: Richard Henderson <rth at redhat dot com>
- To: Peter Barada <peter at the-baradas dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 3 Sep 2004 16:18:36 -0700
- Subject: Re: [m68k] Fix for Bug #17114
- References: <20040903221630.8C62798C8A@baradas.org>
On Fri, Sep 03, 2004 at 06:16:30PM -0400, Peter Barada wrote:
> * config/m68k/m68k.h (EXTRA_CONSTRAINT): Accept only vaid
> offsets in 'U' case; alos allow register indirect in 'U' case.
This is ok, as far as it goes. You should also add
#define EXTRA_MEMORY_CONSTRAINT(C, STR) \
((C) == 'Q' || (C) == 'U')
so that reload knows how to fix up the operand, should the
constraint not match.
r~