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.