[Bug libstdc++/40296] [C++0x] std::exception_ptr comparisons
paolo at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jun 3 10:37:00 GMT 2009
------- Comment #7 from paolo at gcc dot gnu dot org 2009-06-03 10:37 -------
Subject: Bug 40296
Author: paolo
Date: Wed Jun 3 10:37:20 2009
New Revision: 148122
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148122
Log:
2009-06-03 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/40296
* libsupc++/exception_ptr.h (exception_ptr::operator!,
exception_ptr::operator __safe_bool): Only declare when
_GLIBCXX_EH_PTR_COMPAT is undefined.
* libsupc++/eh_ptr.cc: Define _GLIBCXX_EH_PTR_COMPAT before including
exception_ptr.
* testsuite/18_support/exception_ptr/40296.cc: New.
* testsuite/18_support/nested_exception/throw_with_nested.cc: Adjust.
* testsuite/18_support/nested_exception/cons.cc: Likewise.
* testsuite/18_support/nested_exception/nested_ptr.cc: Likewise.
* testsuite/18_support/exception_ptr/current_exception.cc: Likewise.
Added:
trunk/libstdc++-v3/testsuite/18_support/exception_ptr/40296.cc
Modified:
trunk/libstdc++-v3/libsupc++/eh_ptr.cc
trunk/libstdc++-v3/libsupc++/exception_ptr.h
trunk/libstdc++-v3/testsuite/18_support/exception_ptr/current_exception.cc
trunk/libstdc++-v3/testsuite/18_support/nested_exception/cons.cc
trunk/libstdc++-v3/testsuite/18_support/nested_exception/nested_ptr.cc
trunk/libstdc++-v3/testsuite/18_support/nested_exception/throw_with_nested.cc
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40296
More information about the Gcc-bugs
mailing list