aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/inc
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1997-11-21 20:29:06 +0000
committerJason Merrill <jason@gcc.gnu.org>1997-11-21 15:29:06 -0500
commit6c20b7e97e520789f6fcd11f3b6326394fbc1697 (patch)
tree08a80a0118110f30726b12db5089245356d08258 /gcc/cp/inc
parentd32ecec207b26815c17a7347cf20dc3feccef062 (diff)
downloadgcc-6c20b7e97e520789f6fcd11f3b6326394fbc1697.zip
gcc-6c20b7e97e520789f6fcd11f3b6326394fbc1697.tar.gz
gcc-6c20b7e97e520789f6fcd11f3b6326394fbc1697.tar.bz2
except.c (expand_start_eh_spec): Use the try/catch code.
* except.c (expand_start_eh_spec): Use the try/catch code. (expand_end_eh_spec): Likewise. Call __check_eh_spec instead of doing everything inline. (init_exception_processing): throw_type_match now takes const void pointers. * exception.cc (__check_eh_spec): New fn. * inc/exception: Neither terminate nor unexpected return. * decl.c: Make const_ptr_type_node public. * tinfo2.cc (__throw_type_match_rtti): Take the typeinfos constly. From-SVN: r16651
Diffstat (limited to 'gcc/cp/inc')
-rw-r--r--gcc/cp/inc/exception4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/inc/exception b/gcc/cp/inc/exception
index d38806b..3e66bee 100644
--- a/gcc/cp/inc/exception
+++ b/gcc/cp/inc/exception
@@ -29,9 +29,9 @@ typedef void (*terminate_handler) ();
typedef void (*unexpected_handler) ();
terminate_handler set_terminate (terminate_handler);
-void terminate (void);
+void terminate (void) __attribute__ ((__noreturn__));
unexpected_handler set_unexpected (unexpected_handler);
-void unexpected (void);
+void unexpected (void) __attribute__ ((__noreturn__));
bool uncaught_exception ();
} // extern "C++"