From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AB1B03858C54; Fri, 12 May 2023 07:47:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AB1B03858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683877673; bh=tdPKI8khoYCD9T7fOKQF/iE9850chjMI+Ty8utSRMoY=; h=From:To:Subject:Date:From; b=ZY8dZmKB+5OOOnAdZdtew1aCB8NvoeU1OL71sLQTrAPwFHIRGHXhHMkIjx4Ox8Blv jH7S60Ft1SCVqh9HANFAMvE4Z/I6EY7Fq49ZSEp1E0uRYizqqm4nrHXJGKJHikn/QB ocaq5MklMEgChW2yxTljJm+kER9HwjDMgUvRN3pE= From: "rafel.perello at upc dot edu" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rafel.perello at upc dot edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109823 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=3D55062&action=3Dedit 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.=