https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109755
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-05-06 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed, it is not just anonymous namespaces nor class methods.. Another example showing it happens with namespaces static functions too: ``` namespace g { static void f();} static void g::f(){} ```