public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeff Law <law@redhat.com>
To: Anatoly Sokolov <aesok@post.ru>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [MN10300] Remove FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE and  LIBCALL_VALUE macros.
Date: Mon, 26 Oct 2009 15:44:00 -0000	[thread overview]
Message-ID: <4AE5C081.1070301@redhat.com> (raw)
In-Reply-To: <1529218693.20091025145911@post.ru>

On 10/25/09 05:59, Anatoly Sokolov wrote:
> Hello.
>
>    This patch removes obsolete FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE and
> LIBCALL_VALUE macros from mn10300 back end in the GCC and introduces
> equivalent TARGET_FUNCTION_VALUE,  TARGET_FUNCTION_OUTGOING_VALUE and
> TARGET_LIBCALL_VALUE target hooks. Also this patch convert
> FUNCTION_VALUE_REGNO_P macro to mn10300_function_value_regno_p function, this
> should simplify hookize FUNCTION_VALUE_REGNO_P macro in the future.
>
>    Regression tested on mn10300-unknown-elf.
>
>          * config/mn10300/mn10300.c (mn10300_function_value): Make static, add
>          new 'outgoing' argument.
>          (mn10300_libcall_value, mn10300_function_value_regno_p): New
>          functions.
>          (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Declare.
>          * config/mn10300/mn10300.h: (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE,
>          LIBCALL_VALUE): Remove.
>          (FUNCTION_VALUE_REGNO_P): Redefine, use mn10300_function_value_regno_p.
>          * config/mn10300/mn10300-protos.h (mh10300_function_value_regno_p):
>          Declare.
>    
OK.
Jeff

      reply	other threads:[~2009-10-26 15:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-25 12:02 Anatoly Sokolov
2009-10-26 15:44 ` Jeff Law [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AE5C081.1070301@redhat.com \
    --to=law@redhat.com \
    --cc=aesok@post.ru \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).