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


Eric Botcazou wrote:
>> 	* 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.

The prototype is at the top (first hunk) because it has to be above the
TARGET_INITIALIZER.  Do you really want static also in the definition?

Paolo


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