From: uros Date: Sat, 6 Aug 2011 18:39:19 +0000 (+0000) Subject: PR target/50001 X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=0d25d8c268a038d356bb775b99394f1e896fac01 PR target/50001 * config/alpha/alpha.c (alpha_instantiate_decls): New function. (TARGET_INSTANTIATE_DECLS): New define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177531 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6c3143fed90..7389883248e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,9 +1,15 @@ +2011-08-06 Uros Bizjak + + PR target/50001 + * config/alpha/alpha.c (alpha_instantiate_decls): New function. + (TARGET_INSTANTIATE_DECLS): New define. + 2011-08-06 Paolo Bonzini Mikael Morin * Makefile.in (INCLUDES_FOR_TARGET): New. (LIBGCC2_CFLAGS): Use it. - (CRTSTUFF_CFLAGS): Use it instead of INCLUDES. + (CRTSTUFF_CFLAGS): Use it instead of INCLUDES. 2011-08-06 Uros Bizjak diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index e390075f102..a8a96075ee7 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -4632,6 +4632,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) { @@ -9811,6 +9818,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