[Bug libstdc++/59656] weak_ptr::lock function crashes when compiling with -fno-exceptions flag

2014-01-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59656 --- Comment #9 from Jonathan Wakely redi at gcc dot gnu.org --- Author: redi Date: Tue Jan 28 10:23:27 2014 New Revision: 207180 URL: http://gcc.gnu.org/viewcvs?rev=207180root=gccview=rev Log: 2014-01-28 Jonathan Wakely jwak...@redhat.com

[Bug libstdc++/59656] weak_ptr::lock function crashes when compiling with -fno-exceptions flag

2014-01-28 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59656 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug libstdc++/59656] weak_ptr::lock function crashes when compiling with -fno-exceptions flag

2014-01-28 Thread ppluzhnikov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59656 --- Comment #11 from ppluzhnikov at gcc dot gnu.org --- Author: ppluzhnikov Date: Tue Jan 28 19:08:00 2014 New Revision: 207201 URL: http://gcc.gnu.org/viewcvs?rev=207201root=gccview=rev Log: For Google b/12533273 and PR 59656, partially backport

[Bug libstdc++/59656] weak_ptr::lock function crashes when compiling with -fno-exceptions flag

2014-01-24 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59656 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug libstdc++/59656] weak_ptr::lock function crashes when compiling with -fno-exceptions flag

2014-01-22 Thread redi at gcc dot gnu.org
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()

[Bug libstdc++/59656] weak_ptr::lock function crashes when compiling with -fno-exceptions flag

2014-01-22 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59656 --- Comment #6 from Jonathan Wakely redi at gcc dot gnu.org --- Created attachment 31920 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31920action=edit don't use _M_add_ref_lock() when exceptions are disabled Here's a patch which fixes

[Bug libstdc++/59656] weak_ptr::lock function crashes when compiling with -fno-exceptions flag

2014-01-22 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59656 --- Comment #7 from Paul Pluzhnikov ppluzhnikov at google dot com --- Created attachment 31924 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31924action=edit Alternate fix from Kyle Lippincott Alternate patch, courtesy Kyle Lippincott

[Bug libstdc++/59656] weak_ptr::lock function crashes when compiling with -fno-exceptions flag

2014-01-21 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59656 --- Comment #4 from Paul Pluzhnikov ppluzhnikov at google dot com --- Created attachment 31911 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31911action=edit test case Copy of test case from PR 59869

[Bug libstdc++/59656] weak_ptr::lock function crashes when compiling with -fno-exceptions flag

2014-01-18 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59656 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC|

[Bug libstdc++/59656] weak_ptr::lock function crashes when compiling with -fno-exceptions flag

2014-01-18 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59656 --- Comment #3 from Paul Pluzhnikov ppluzhnikov at google dot com --- *** Bug 59869 has been marked as a duplicate of this bug. ***

[Bug libstdc++/59656] weak_ptr::lock function crashes when compiling with -fno-exceptions flag

2014-01-06 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59656 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Severity|major |normal ---