aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/alpha
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2011-08-06 20:39:19 +0200
committerUros Bizjak <uros@gcc.gnu.org>2011-08-06 20:39:19 +0200
commit1e46eb2a1b9cf45590ab0444ce03dbb3b7bd8856 (patch)
tree28494d93ce33138d2b74354c273f5843a20b1a84 /gcc/config/alpha
parentbd8202188045959573ec8d48716eac3097184959 (diff)
downloadgcc-1e46eb2a1b9cf45590ab0444ce03dbb3b7bd8856.zip
gcc-1e46eb2a1b9cf45590ab0444ce03dbb3b7bd8856.tar.gz
gcc-1e46eb2a1b9cf45590ab0444ce03dbb3b7bd8856.tar.bz2
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: r177531
Diffstat (limited to 'gcc/config/alpha')
-rw-r--r--gcc/config/alpha/alpha.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c
index e390075..a8a9607 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