https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105575
--- Comment #9 from Jason Merrill <jason at gcc dot gnu.org> --- (In reply to Martin Liška from comment #8) > While GCC 12.1 rejects the code with: > > ../../buildtools/third_party/libc++/trunk/include/string:742:13: error: > anonymous struct with base classes > > Rejected since r12-2627-g3ead06c1cff8fb42. Removing the offending line : __padding<value_type> allows compilation to complete with GCC 12, while 11 still crashes.