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: [PATCH] Hookize (partially) GO_IF_LEGITIMATE_ADDRESS


> 	* 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


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