https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80172
Bug ID: 80172 Summary: Segfault when using a constructed intializer list of tuple(int, variant) created through template pack expansion Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugs at marehr dot dialup.fu-berlin.de Target Milestone: --- Created attachment 41044 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41044&action=edit example source code that triggers segfault Hi gcc-team, the attached source code compiles, but will terminate with a segfault when executed. > g++-7 -std=gnu++1z -Wall -Wextra > bug_gcc_tuple_of_variant_in_pack_expansion.cpp > ./a.out 0. 4 1. 5 2. 1 A N - 0. A 1. N 2. - zsh: segmentation fault (core dumped) ./a.out best regards marehr