This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [SH] Remove FUNCTION_VALUE and LIBCALL_VALUE macros.
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: aesok at post dot ru
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 30 Nov 2009 07:15:59 +0900 (JST)
- Subject: Re: [SH] Remove FUNCTION_VALUE and LIBCALL_VALUE macros.
- References: <1952432612.20091128164854@post.ru>
Anatoly Sokolov <aesok@post.ru> wrote:
> * config/sh/sh.c (sh_promote_prototypes): Make static.
> (sh_function_value, sh_libcall_value, sh_function_value_regno_p): New
> functions.
> (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Declare.
> * config/sh/sh.h: (FUNCTION_VALUE_REGNO_P): Redefine, use
> sh_function_value_regno_p.
> (FUNCTION_VALUE, LIBCALL_VALUE): Remove.
> * config/sh/sh-protos.h (sh_function_value_regno_p): Declare.
> (sh_promote_prototypes) : Remove.
>
> OK to install?
OK. Thanks for doing this work.
Regards,
kaz