diff options
author | Andrew MacLeod <amacleod@cygnus.com> | 1998-06-25 14:11:54 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 1998-06-25 14:11:54 +0000 |
commit | 9c606f693ddca43b89097388cfdeeffaead030df (patch) | |
tree | bb987eafff1d4601db541283435b2bfed1629fa6 /gcc/except.h | |
parent | 296b815223f2a71b7a377af93ea7a599c26f9d18 (diff) | |
download | gcc-9c606f693ddca43b89097388cfdeeffaead030df.zip gcc-9c606f693ddca43b89097388cfdeeffaead030df.tar.gz gcc-9c606f693ddca43b89097388cfdeeffaead030df.tar.bz2 |
[multiple changes]
Thu Jun 25 16:59:18 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
* except.h (CATCH_ALL_TYPE): Definition moved to eh-common.h.
(find_all_handler_type_matches): Add function prototype.
* eh-common.h (CATCH_ALL_TYPE): Definition added.
* except.c (find_all_handler_type_matches): Add function to find all
runtime type info in the exception table.
(output_exception_table_entry): Special case for CATCH_ALL_TYPE.
1998-06-25 Andrew MacLeod <amacleod@cygnus.com>
* cp-tree.h (mark_all_runtime_matches): Add function prototype.
* except.c (mark_all_runtime_matches): Set TREE_SYMBOL_REFERENCED
flag for all function decls which are in the exception table.
* exception.cc (__cplus_type_matcher): Check for CATCH_ALL_TYPE match.
* decl2.c (finish_file): Call mark_all_runtime_matches to make sure
code is emitted for any referenced rtti function.
From-SVN: r20718
Diffstat (limited to 'gcc/except.h')
-rw-r--r-- | gcc/except.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/except.h b/gcc/except.h index edb95ad..c08d0c5 100644 --- a/gcc/except.h +++ b/gcc/except.h @@ -161,8 +161,6 @@ void set_exception_version_code PROTO((short)); exception. NEXT is a pointer to the next handler for this region. NULL means there are no more. */ -#define CATCH_ALL_TYPE (tree *) -1 - typedef struct handler_info { rtx handler_label; @@ -209,6 +207,9 @@ int duplicate_handlers PROTO((int, int)); struct handler_info *get_first_handler PROTO((int)); +/* Find all the runtime handlers type matches currently referenced */ + +int find_all_handler_type_matches PROTO((void ***)); extern void init_eh PROTO((void)); |