This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[v3] Fix libstdc++/40915
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 30 Jul 2009 17:28:07 +0200
- Subject: [v3] Fix libstdc++/40915
Hi,
tested x86_64-linux, with and without PCHs, committed to mainline.
Paolo.
///////////////////
2009-07-30 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/40915
* testsuite/18_support/headers/exception/synopsis.cc: Fix
std::terminate declaration.
Index: testsuite/18_support/headers/exception/synopsis.cc
===================================================================
--- testsuite/18_support/headers/exception/synopsis.cc (revision 150259)
+++ testsuite/18_support/headers/exception/synopsis.cc (working copy)
@@ -29,7 +29,7 @@
typedef void (*terminate_handler)();
terminate_handler set_terminate(terminate_handler f ) throw();
- void terminate();
+ void terminate() throw();
bool uncaught_exception() throw();
}