aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6/gcc/config/alpha/alpha.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.6/gcc/config/alpha/alpha.c')
-rw-r--r--gcc-4.6/gcc/config/alpha/alpha.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc-4.6/gcc/config/alpha/alpha.c b/gcc-4.6/gcc/config/alpha/alpha.c
index b41404eb6..34ec96747 100644
--- a/gcc-4.6/gcc/config/alpha/alpha.c
+++ b/gcc-4.6/gcc/config/alpha/alpha.c
@@ -4918,6 +4918,13 @@ alpha_gp_save_rtx (void)
return m;
}
+static void
+alpha_instantiate_decls (void)
+{
+ if (cfun->machine->gp_save_rtx != NULL_RTX)
+ instantiate_decl_rtl (cfun->machine->gp_save_rtx);
+}
+
static int
alpha_ra_ever_killed (void)
{
@@ -11110,6 +11117,9 @@ alpha_conditional_register_usage (void)
#undef TARGET_TRAMPOLINE_INIT
#define TARGET_TRAMPOLINE_INIT alpha_trampoline_init
+#undef TARGET_INSTANTIATE_DECLS
+#define TARGET_INSTANTIATE_DECLS alpha_instantiate_decls
+
#undef TARGET_SECONDARY_RELOAD
#define TARGET_SECONDARY_RELOAD alpha_secondary_reload