This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/59656] weak_ptr::lock function crashes when compiling with -fno-exceptions flag
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 22 Jan 2014 11:21:50 +0000
- Subject: [Bug libstdc++/59656] weak_ptr::lock function crashes when compiling with -fno-exceptions flag
- Auto-submitted: auto-generated
- References: <bug-59656-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59656
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Thanks Paul. You mentioned a proposed patch, are you working on that? From a
quick look I didn't see how to fix it without adding a
_Sp_counted_base::_M_add_ref_lock_nothrow() function and adding new
constructors taking an additional std::nothrow_t argument to the whole class
hierarchy. Did you have a simpler fix in mind?