[Bug libstdc++/36270] A problem with STL map/vector/list whose key is a string in multi-threaded application

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Tue May 27 09:03:00 GMT 2008



------- Comment #3 from paolo dot carlini at oracle dot com  2008-05-27 09:02 -------
(In reply to comment #2)
> Thanks for your quick reply.
> I have upgraded gcc's version to 4.0.2 and the problem is no longer reproduced.

Good. Therefore, I think we can safely close this issue.

> Nonetheless, there is something in your comment that was not quite clear to me.
> You've mentioned that I'm using mt_alloc instead of a default allocator. I'm
> not sure where did I make the choice to use it: there is nothing in the code
> that specifies which allocator to use (I assumed that in this case the default
> will be used). Is it the result of the way the compiler was configured?

Right. For some reason, your distro changed the default for that release.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36270



More information about the Gcc-bugs mailing list