public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/106191] New: ICE: Segmentation fault signal terminated program cc1plus
Date: Mon, 04 Jul 2022 19:41:49 +0000	[thread overview]
Message-ID: <bug-106191-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106191

            Bug ID: 106191
           Summary: ICE: Segmentation fault signal terminated program
                    cc1plus
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

It seems to have started with r13 before 20220508 :


$ cat z1.cc
class C
{
  int a = 0;
  constexpr auto b() const noexcept
  {
    return a;
  }
public:
  constexpr operator auto() const noexcept
  {
    return [*]a;
  }
};


$ gcc-13-20220703 -c z1.cc
z1.cc: In member function 'constexpr C::operator auto() const':
z1.cc:11:13: error: expected identifier before '*' token
   11 |     return [*]a;
      |             ^
z1.cc: In lambda function:
z1.cc:11:15: error: expected '{' before 'a'
   11 |     return [*]a;
      |               ^
g++: internal compiler error: Segmentation fault signal terminated program
cc1plus

             reply	other threads:[~2022-07-04 19:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-04 19:41 gscfq@t-online.de [this message]
2022-07-07 12:33 ` [Bug c++/106191] ICE: Segmentation fault signal terminated program cc1plus since r8-526-g65d7adba7ba2736b marxin at gcc dot gnu.org

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=bug-106191-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).