public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Martin Liška" <mliska@suse.cz>
To: Michael Matz <matz@suse.de>
Cc: Thomas Schwinge <thomas@codesourcery.com>,
	Richard Biener <richard.guenther@gmail.com>,
	gcc-patches@gcc.gnu.org
Subject: Re: [PATCH 1/3] STABS: remove -gstabs and -gxcoff functionality
Date: Thu, 10 Nov 2022 15:13:54 +0100	[thread overview]
Message-ID: <b5dba2b8-32b7-f791-a6bc-ea63159cbf93@suse.cz> (raw)
In-Reply-To: <alpine.LSU.2.20.2211101408510.5466@wotan.suse.de>

On 11/10/22 15:12, Michael Matz wrote:
> Hello,
> 
> On Thu, 10 Nov 2022, Martin Liška wrote:
> 
>>> These changes are part of
>>> commit r13-2361-g7e0db0cdf01e9c885a29cb37415f5bc00d90c029
>>> "STABS: remove -gstabs and -gxcoff functionality".  What this does is
>>> remove these identifiers from "poisoning":
>>>
>>>       /* As the last action in this file, we poison the identifiers that
>>>          shouldn't be used.
>>>       [...]
>>>       /* Other obsolete target macros, or macros that used to be in target
>>>          headers and were not used, and may be obsolete or may never have
>>>          been used.  */
>>>        #pragma GCC poison [...]
>>>
>>> Shouldn't these identifiers actually stay (so that any accidental future
>>> use gets flagged, as I understand this machinery), and instead more
>>> identifiers be added potentially: those where their definition/use got
>>> removed with "STABS: remove -gstabs and -gxcoff functionality"?  (I've
>>> not checked.)
>>
>> Well, the identifiers are not used any longer, so I don't think we should
>> poison them. Or do I miss something?
> 
> It's the very nature of poisoned identifiers that they aren't used (every
> use would get flagged as error).  The point of poisoning them is to avoid
> future new uses to creep in (e.g. via mislead back- or forward-ports,
> which can for instance happen easily with backend macros when an
> out-of-tree port is eventually tried to be integrated).  Hence, generally
> the list of those identifiers is only extended, never reduced.  (There may
> be exceptions of course)

Ahh, ok, makes sense. So Thomas, please put them back to the poisoned list.

Martin

> 
> 
> Ciao,
> Michael.


  reply	other threads:[~2022-11-10 14:13 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-01 10:05 Martin Liška
2022-09-01 10:05 ` Martin Liška
2022-09-01 11:18 ` Richard Biener
2022-09-02  7:00   ` Martin Liška
2022-09-02  8:54     ` Richard Biener
2022-09-05  7:59       ` Martin Liška
2022-09-05  9:05         ` Richard Biener
2022-09-14 12:19 ` [COMMITTED] Fix unused variable warning (was: [PATCH 1/3] STABS: remove -gstabs and -gxcoff functionality) Jan-Benedict Glaw
2022-09-14 13:20   ` Martin Liška
2022-10-10 14:19 ` Restore default 'sorry' 'TARGET_ASM_CONSTRUCTOR', 'TARGET_ASM_DESTRUCTOR' " Thomas Schwinge
2022-10-10 14:23   ` Tom de Vries
2022-10-11  6:40     ` Richard Biener
2022-11-04  9:12       ` Better integrate default 'sorry' 'TARGET_ASM_CONSTRUCTOR', 'TARGET_ASM_DESTRUCTOR' (was: Restore default 'sorry' 'TARGET_ASM_CONSTRUCTOR', 'TARGET_ASM_DESTRUCTOR') Thomas Schwinge
2022-10-12  9:21   ` Restore default 'sorry' 'TARGET_ASM_CONSTRUCTOR', 'TARGET_ASM_DESTRUCTOR' (was: [PATCH 1/3] STABS: remove -gstabs and -gxcoff functionality) Martin Liška
2022-11-04  9:04     ` Thomas Schwinge
2022-11-04  9:07       ` Thomas Schwinge
2022-11-04  9:32 ` [PATCH 1/3] STABS: remove -gstabs and -gxcoff functionality Thomas Schwinge
2022-11-10 14:02   ` Martin Liška
2022-11-10 14:12     ` Michael Matz
2022-11-10 14:13       ` Martin Liška [this message]
2022-09-06 16:31 David Edelsohn
2022-09-06 17:00 ` David Edelsohn
2022-09-07 11:46   ` Martin Liška

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=b5dba2b8-32b7-f791-a6bc-ea63159cbf93@suse.cz \
    --to=mliska@suse.cz \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=matz@suse.de \
    --cc=richard.guenther@gmail.com \
    --cc=thomas@codesourcery.com \
    /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).