[PATCH] Hookize (partially) GO_IF_LEGITIMATE_ADDRESS
Eric Botcazou
ebotcazou@adacore.com
Fri May 1 08:55:00 GMT 2009
> * config/sparc/sparc.h (GO_IF_LEGITIMATE_ADDRESS): Delete.
> * config/sparc/sparc-protos.h (legitimate_address_p): Remove.
> * config/sparc/sparc.c (legitimate_address_p): Rename to...
> (sparc_legitimate_address_p): ... this, make static.
and return 'bool'. There is also a missing 'static' in the patch.
> (legitimize_address): Adjust call.
> (TARGET_LEGITIMATE_ADDRESS_P): New.
OK with these small fixes.
--
Eric Botcazou
More information about the Gcc-patches
mailing list