[Bug libstdc++/59869] [C++11] std::weak_ptr is thread-unsafe when built with -fno-exceptions

ppluzhnikov at google dot com gcc-bugzilla@gcc.gnu.org
Sat Jan 18 16:58:00 GMT 2014


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

Paul Pluzhnikov <ppluzhnikov at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
> What do you mean by thread-unsafe?

I mean that a multithreaded program built with -fno-exceptions and using
weak_ptr may abort through no fault of its own, and that renders weak_ptr
unusable in such programs.

*** This bug has been marked as a duplicate of bug 59656 ***



More information about the Gcc-bugs mailing list