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/cp/decl2.c | |
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/cp/decl2.c')
-rw-r--r-- | gcc/cp/decl2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 87f65fa..f1f83b4 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -3257,6 +3257,8 @@ finish_file () import_export_decl (decl); } + mark_all_runtime_matches (); + /* Now write out inline functions which had their addresses taken and which were not declared virtual and which were not declared `extern inline'. */ |