public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rafel.perello at upc dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/109823] New: Internal segmentation fault for trailing return with doubly expanded variadic pack
Date: Fri, 12 May 2023 07:47:53 +0000	[thread overview]
Message-ID: <bug-109823-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 109823
           Summary: Internal segmentation fault for trailing return with
                    doubly expanded variadic pack
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rafel.perello at upc dot edu
  Target Milestone: ---

Created attachment 55062
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55062&action=edit
Code

The following code makes the compiler crash if the trailing return with
decltype is added. If the lambda is defined without trailing return, the
program works as expected.

             reply	other threads:[~2023-05-12  7:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-12  7:47 rafel.perello at upc dot edu [this message]
2023-05-12  7:58 ` [Bug c++/109823] ICE with trailing return of decltype of a fold expression in nested generic variadic lambda pinskia at gcc dot gnu.org
2023-05-12  7:59 ` [Bug c++/109823] [10/11/12/13/14 Regression] " pinskia at gcc dot gnu.org
2023-07-07 10:45 ` [Bug c++/109823] [11/12/13/14 " rguenth at gcc dot gnu.org
2024-01-10 17:30 ` jamborm at gcc dot gnu.org
2024-01-12 11:57 ` rguenth 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-109823-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).