https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97372
--- Comment #3 from marian <public at enkore dot de> --- Created attachment 49344 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49344&action=edit CVise differently reduced reproducer (possibly a different bug as well) Attached automatically reduced reproducer does retain more of the structure of the original test case, but also strikes me as suspiciously invalid C++, so probably is another bug still. $ g++ testcase_proper.ii testcase_proper.ii: In instantiation of ‘a< <template-parameter-1-1> >::a() [with <template-parameter-1-1> = int]’: testcase_proper.ii:6:19: required from here testcase_proper.ii:2:25: internal compiler error: Segmentation fault 2 | int b{[] { static int c; }}; | ^ $ cat testcase_proper.ii template <typename> class a { int b{[] { static int c; }}; public: a() {} }; void d() { a<int> e; }