------- Comment #6 from paolo dot carlini at oracle dot com 2008-12-02 13:34 ------- (In reply to comment #5) > (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.
Sorry, now I see that the involved _Impl constructor clones, thus creates an unnamed clone if the original one is unnamed, thus the idea can work. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38365