From 1eefb6c14905428bd54415913c5622efcd748be8 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 26 Mar 2002 14:07:47 -0800 Subject: toplev.c (rest_of_compilation): Delay emit_initial_value_sets until after eh landing pad generation. * toplev.c (rest_of_compilation): Delay emit_initial_value_sets until after eh landing pad generation. * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof. * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs. From-SVN: r51411 --- gcc/toplev.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gcc/toplev.c') diff --git a/gcc/toplev.c b/gcc/toplev.c index 7268b5a..ed946ef 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -2483,7 +2483,6 @@ rest_of_compilation (decl) carry magic hard reg data throughout the function. */ rtx_equal_function_value_matters = 0; purge_hard_subreg_sets (get_insns ()); - emit_initial_value_sets (); /* Early return if there were errors. We can run afoul of our consistency checks, and there's not really much point in fixing them. @@ -2518,6 +2517,10 @@ rest_of_compilation (decl) timevar_pop (TV_JUMP); } + /* Delay emitting hard_reg_initial_value sets until after EH landing pad + generation, which might create new sets. */ + emit_initial_value_sets (); + #ifdef FINALIZE_PIC /* If we are doing position-independent code generation, now is the time to output special prologues and epilogues. -- cgit v1.1