From: Marek Polacek <polacek@redhat.com>
To: Jonathan Wakely <jwakely.gcc@gmail.com>
Cc: Amol Surati <suratiamol@gmail.com>, "gcc@gcc.gnu.org" <gcc@gcc.gnu.org>
Subject: Re: [attribs.cc] ICE with 4x underscores
Date: Tue, 30 Jan 2024 16:49:52 -0500 [thread overview]
Message-ID: <ZblvAOyDj48deUFJ@redhat.com> (raw)
In-Reply-To: <CAH6eHdTCDZSpPmbO-Zn8JygqVS9HM8TihAbv_QvDoh4YDD8WrA@mail.gmail.com>
On Tue, Jan 30, 2024 at 12:25:24PM +0000, Jonathan Wakely via Gcc wrote:
> On Tue, 30 Jan 2024, 10:35 Amol Surati via Gcc, <gcc@gcc.gnu.org> wrote:
>
> > Hello,
> >
> > If a std attribute name is squeezed between 4x underscores,
> >
>
> Which is undefined behaviour, but shouldn't crash.
>
> the compiler (both 13.2 [1] and trunk [2]) experiences an ICE.
> >
>
> Bug reports belong in bugzilla, not on the mailing list please.
>
> https://gcc.gnu.org/bugs/
I've created <https://gcc.gnu.org/PR113674>:
[[____attr____]] causes internal compiler error: in decl_attributes, at attribs.cc:776
which crashes with both cc1{,plus}. The problem happens when the attribute
is both in std_attributes and c_common_gnu_attributes, it seems.
Marek
prev parent reply other threads:[~2024-01-30 21:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-30 10:34 Amol Surati
2024-01-30 12:25 ` Jonathan Wakely
2024-01-30 21:49 ` Marek Polacek [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=ZblvAOyDj48deUFJ@redhat.com \
--to=polacek@redhat.com \
--cc=gcc@gcc.gnu.org \
--cc=jwakely.gcc@gmail.com \
--cc=suratiamol@gmail.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).