diff options
author | Jason Merrill <jason@yorick.cygnus.com> | 1997-11-21 20:29:06 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1997-11-21 15:29:06 -0500 |
commit | 6c20b7e97e520789f6fcd11f3b6326394fbc1697 (patch) | |
tree | 08a80a0118110f30726b12db5089245356d08258 /gcc/cp/inc | |
parent | d32ecec207b26815c17a7347cf20dc3feccef062 (diff) | |
download | gcc-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/exception | 4 |
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++" |