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

ppluzhnikov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 28 19:08:00 GMT 2014


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



More information about the Gcc-bugs mailing list