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: "ppluzhnikov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 28 Jan 2014 19:08:33 +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 #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=207201&root=gcc&view=rev
Log:
For Google b/12533273 and PR 59656, partially backport r207180 from trunk.
(The new test: libstdc++-v3/testsuite/20_util/shared_ptr/cons/void_neg.cc
is not added, because it succeeds to compile with gcc-4_8.)
Modified:
branches/google/gcc-4_8/libstdc++-v3/include/bits/shared_ptr.h
branches/google/gcc-4_8/libstdc++-v3/include/bits/shared_ptr_base.h
branches/google/gcc-4_8/libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc