This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Hookize (partially) GO_IF_LEGITIMATE_ADDRESS
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 1 May 2009 10:58:15 +0200
- Subject: Re: [PATCH] Hookize (partially) GO_IF_LEGITIMATE_ADDRESS
- References: <20090423130523.GA26164@fencepost.gnu.org>
> * 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