From: Uros Bizjak Date: Sat, 6 Aug 2011 18:54:01 +0000 (+0200) Subject: re PR rtl-optimization/50001 ([alpha]: ICE in reload_combine_note_use, at postreload... X-Git-Tag: releases/gcc-4.4.7~287 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b33d430373302a3ffaaf21e6d038f095a0a60c1a;p=thirdparty%2Fgcc.git re PR rtl-optimization/50001 ([alpha]: ICE in reload_combine_note_use, at postreload.c:1538) PR target/50001 * config/alpha/alpha.c (alpha_instantiate_decls): New function. (TARGET_INSTANTIATE_DECLS): New define. From-SVN: r177535 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f99572671931..58a6198d5783 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2011-08-06 Uros Bizjak + + PR target/50001 + * config/alpha/alpha.c (alpha_instantiate_decls): New function. + (TARGET_INSTANTIATE_DECLS): New define. + +2011-07-31 Uros Bizjak + PR target/49920 * config/i386/i386.md (strset): Do not expand strset_singleop when %eax or $edi are fixed. diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index ecc5a45d4270..d792c5cf81ae 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -4834,6 +4834,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) { @@ -10818,6 +10825,9 @@ alpha_init_libfuncs (void) #undef TARGET_ARG_PARTIAL_BYTES #define TARGET_ARG_PARTIAL_BYTES alpha_arg_partial_bytes +#undef TARGET_INSTANTIATE_DECLS +#define TARGET_INSTANTIATE_DECLS alpha_instantiate_decls + #undef TARGET_SECONDARY_RELOAD #define TARGET_SECONDARY_RELOAD alpha_secondary_reload