]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR rtl-optimization/50001 ([alpha]: ICE in reload_combine_note_use, at postreload...
authorUros Bizjak <ubizjak@gmail.com>
Sat, 6 Aug 2011 18:54:01 +0000 (20:54 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sat, 6 Aug 2011 18:54:01 +0000 (20:54 +0200)
PR target/50001
* config/alpha/alpha.c (alpha_instantiate_decls): New function.
(TARGET_INSTANTIATE_DECLS): New define.

From-SVN: r177535

gcc/ChangeLog
gcc/config/alpha/alpha.c

index f99572671931b4f5e014d952fac9942ba799716e..58a6198d578334c96d6b509565cfed1681779e81 100644 (file)
@@ -1,3 +1,11 @@
+2011-08-06  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/50001
+       * config/alpha/alpha.c (alpha_instantiate_decls): New function.
+       (TARGET_INSTANTIATE_DECLS): New define.
+
+2011-07-31  Uros Bizjak  <ubizjak@gmail.com>
+
        PR target/49920
        * config/i386/i386.md (strset): Do not expand strset_singleop
        when %eax or $edi are fixed.
index ecc5a45d42703f51d99e8cb5c1a6b7cfa452b91c..d792c5cf81aed96bdd38da2d108b33d7692624e1 100644 (file)
@@ -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