This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r148122 - in /trunk/libstdc++-v3: libsupc++/eh_...
- From: paolo at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Wed, 03 Jun 2009 10:37:20 -0000
- Subject: r148122 - in /trunk/libstdc++-v3: libsupc++/eh_...
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