]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/14493 (std::bad_alloc::what() does not explain what happened)
authorPaolo Carlini <pcarlini@suse.de>
Thu, 1 Feb 2007 13:36:51 +0000 (13:36 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 1 Feb 2007 13:36:51 +0000 (13:36 +0000)
commitc3f0f556dbb69eaa968844a13a4b9d26b0314559
tree956a65496ea40664056e495d47d7b48a8dc073b2
parentee7d8048d5cb690e325d79e82df75c3ddc36a081
re PR libstdc++/14493 (std::bad_alloc::what() does not explain what happened)

2007-02-01  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/14493
* libsupc++/typeinfo (bad_cast::what, bad_typeid::what): Declare.
* libsupc++/tinfo.cc: Define.
* libsupc++/exception (bad_exception::what): Declare.
* libsupc++/eh_exception.cc: Define.
(exception::what): Adjust, don't use typeid.
* libsupc++/new (bad_alloc::what): Declare.
* libsupc++/new_handler.cc: Define.
* config/abi/pre/gnu.ver: Export the new methods @3.4.9; adjust
existing 3.4.10 exports to 3.4.9.
* configure.ac: Adjust to 6.0.9.
* configure: Regenerate.
* testsuite/util/testsuite_abi.cc: Update.
* testsuite/18_support/14493.cc: New.

From-SVN: r121461
12 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/config/abi/pre/gnu.ver
libstdc++-v3/configure
libstdc++-v3/configure.ac
libstdc++-v3/libsupc++/eh_exception.cc
libstdc++-v3/libsupc++/exception
libstdc++-v3/libsupc++/new
libstdc++-v3/libsupc++/new_handler.cc
libstdc++-v3/libsupc++/tinfo.cc
libstdc++-v3/libsupc++/typeinfo
libstdc++-v3/testsuite/18_support/14493.cc [new file with mode: 0644]
libstdc++-v3/testsuite/util/testsuite_abi.cc