From 1e4ceb6f9ea4f1e0d5afccbf4a135f47b0110b79 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Thu, 18 Nov 1999 17:50:56 +0000 Subject: except.h (struct eh_entry): Add goto_entry_p. * except.h (struct eh_entry): Add goto_entry_p. (eh_region_from_symbol): Remove prototype. * except.c (find_func_region_from_symbol): New function. (emit_cleanup_handler): Likewise. (eh_region_from_symbol): Make it static. (add_new_handler): Verify the argument. (find_func_region): Update comment. (expand_eh_region_end): Expand handlers here, rater than waiting until expand_leftover_cleanups or start_all_catch. (expand_leftover_cleanups): Don't expand here. (expand_start_all_catch): Or here. (expand_rethrow): Check the return value from find_func_region. * function.c (expand_function_end): Emit the catch_clauses. From-SVN: r30576 --- gcc/function.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/function.c') diff --git a/gcc/function.c b/gcc/function.c index 7c491df..7014a8b 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -6436,6 +6436,9 @@ expand_function_end (filename, line, end_bindings) expand_leftover_cleanups (); + /* If there are any catch_clauses remaining, output them now. */ + emit_insns (catch_clauses); + catch_clauses = NULL_RTX; /* If the above emitted any code, may sure we jump around it. */ if (last != get_last_insn ()) { -- cgit v1.1