[m68k] Fix for Bug #17114

Richard Henderson rth@redhat.com
Fri Sep 3 23:20:00 GMT 2004


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~



More information about the Gcc-patches mailing list