https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102156 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There was an C++ old defect report about B::B being the name of the constructor or the class name.