https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93703

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to felix-gcc from comment #2)
> OK that answers half of the mystery, but why is foo not mangled?

Because the ABI says so.  Only names which can have overloading applied
are usually mangled, that is, variables are not (we seem to choose to
mangle internal variables for some reason).

Reply via email to