https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113760
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >From JDK bug report: > It looks like it only removed > the warnings for empty declarations at namespace scope. I couldn't find > anything for other cases, including empty class member declarations. Yes because the C++ defect report was only for `Spurious semicolons at namespace scope should be allowed`. See https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#569 . ``` struct f { int t; ; }; ``` Is not allowed by the C++ standard currently and is a GCC extension, maybe it should have a seperate flag to control that but I am not 100% sure.