public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bernd Schmidt <bschmidt@redhat.com>
To: tbsaunde+gcc@tbsaunde.org, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH 1/3] remove STRUCT_VALUE macro
Date: Thu, 10 Sep 2015 12:32:00 -0000	[thread overview]
Message-ID: <55F17772.7080807@redhat.com> (raw)
In-Reply-To: <1441886239-28535-2-git-send-email-tbsaunde+gcc@tbsaunde.org>

On 09/10/2015 01:57 PM, tbsaunde+gcc@tbsaunde.org wrote:
> From: Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
> 
> It is undocumented so the meaning is unclear, but it is only ever
> defined to 0, which the one user in libobjc treats the same as being
> undefined.

Apparently it was converted to TARGET_STRUCT_VALUE_RTX in 2003/2004. The
default definition of that is documented as just returning 0, so
removing these macros should be fine.

> gcc/ChangeLog:
> 
> 2015-09-10  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
> 
> 	* config/arc/arc.h: Remove define of STRUCT_VALUE.
> 	* config/lm32/lm32.h: Likewise.
> 	* config/mep/mep.h: Likewise.
> 	* config/visium/visium.h: Likewise.
> 	* system.h: Poison STRUCT_VALUE macro.

Ok.


Bernd

  reply	other threads:[~2015-09-10 12:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-10 11:57 [PATCH 0/3] remove tm.h from libobjc/sendmsg.c tbsaunde+gcc
2015-09-10 11:57 ` [PATCH 1/3] remove STRUCT_VALUE macro tbsaunde+gcc
2015-09-10 12:32   ` Bernd Schmidt [this message]
2015-09-10 11:57 ` [PATCH 2/3] remove unused defines from sendmsg.c tbsaunde+gcc
2015-09-10 12:26 ` [PATCH 3/3] stop including tm.h in sendmsg.c tbsaunde+gcc
2015-09-10 12:35   ` Bernd Schmidt
2015-09-10 13:39 ` [PATCH 0/3] remove tm.h from libobjc/sendmsg.c pinskia
2015-09-10 13:41 ` Joseph Myers

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=55F17772.7080807@redhat.com \
    --to=bschmidt@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=tbsaunde+gcc@tbsaunde.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).