https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103946
--- Comment #1 from David Binderman <dcb314 at hotmail dot com> --- Reduced C++ code is: class UnicodeSet { virtual UnicodeSet complement(); }; enum { URX_GC_T, URX_LAST_SET }; class RegexStaticSets { RegexStaticSets(); UnicodeSet fPropSets[URX_LAST_SET]{}; }; RegexStaticSets::RegexStaticSets() {} I will have a look at a git bisect tomorrow.