[Bug libstdc++/64241] make_exception_ptr returns garbage with -fno-exceptions

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Dec 12 15:10:00 GMT 2014


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



More information about the Gcc-bugs mailing list