http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59656
Paul Pluzhnikov <ppluzhnikov at google dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ppluzhnikov at google dot com
--- Comment #2 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
(In reply to Jonathan Wakely from comment #1)
> The standard says exceptions are always enabled, if you disable them you are
> no longer using standard C++, so what it says in the standard doesn't
> necessarily apply.
It's a quality of implementation issue: effectively current std::weak_ptr is
not usable in any multithreaded program built with -fno-exceptions.
> I don't think it would be simple to make this work with -fno-exceptions
We have a patch that makes it work.