This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67746] Mangled name is accepted for variables in namespace-scope
- From: "roger.ferrer at bsc dot es" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 Sep 2015 12:57:43 +0000
- Subject: [Bug c++/67746] Mangled name is accepted for variables in namespace-scope
- Auto-submitted: auto-generated
- References: <bug-67746-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67746
--- Comment #2 from Roger Ferrer Ibanez <roger.ferrer at bsc dot es> ---
(In reply to Jonathan Wakely from comment #1)
> Your examples are undefined due to the use of reserved names, and the
> libstdc++ implementation actually relies on this in places, so I think
> changing it would break things.
Ah ok, I didn't know this was used in the libstdc++.
Thanks,