This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [m68k] Fix for Bug #17114


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]