This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/64241] make_exception_ptr returns garbage with -fno-exceptions
- 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: Fri, 12 Dec 2014 15:10:41 +0000
- Subject: [Bug libstdc++/64241] make_exception_ptr returns garbage with -fno-exceptions
- Auto-submitted: auto-generated
- References: <bug-64241-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64241
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Fri Dec 12 15:10:08 2014
New Revision: 218675
URL: https://gcc.gnu.org/viewcvs?rev=218675&root=gcc&view=rev
Log:
PR libstdc++/64241
* libsupc++/exception_ptr.h: Return empty object when exceptions are
disabled.
* testsuite/18_support/exception_ptr/64241.cc: New.
Added:
trunk/libstdc++-v3/testsuite/18_support/exception_ptr/64241.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/libsupc++/exception_ptr.h