This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/38365] Locale, constructed from named and unnamed locales, become named
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Dec 2008 13:21:47 -0000
- Subject: [Bug libstdc++/38365] Locale, constructed from named and unnamed locales, become named
- References: <bug-38365-16694@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from paolo dot carlini at oracle dot com 2008-12-02 13:21 -------
(In reply to comment #4)
> Your patch fixes the problem at the level of the locale constructor, but why do
> not fix this problem at the level of _M_replace_categories() instead?
Because that would not work, _M_impl has already a name ("C") by that time.
Note that all these classes are suboptimal performance-wise, will be redesigned
for the next ABI.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38365