https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108174
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #8) > It should also be static too. Well the struct is anonymous so it will be static linkage by C++ rules.