aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-03-26 14:07:47 -0800
committerRichard Henderson <rth@gcc.gnu.org>2002-03-26 14:07:47 -0800
commit1eefb6c14905428bd54415913c5622efcd748be8 (patch)
tree032ac1bc17430675ab85fd07cc2073e88a0b65e3 /gcc/toplev.c
parentdcce8b1d54785af4f28c3cb4f49897eeb7ff6c45 (diff)
downloadgcc-1eefb6c14905428bd54415913c5622efcd748be8.zip
gcc-1eefb6c14905428bd54415913c5622efcd748be8.tar.gz
gcc-1eefb6c14905428bd54415913c5622efcd748be8.tar.bz2
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
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c5
1 files changed, 4 insertions, 1 deletions
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.