Fix the Alpha/VMS build. Installed as obvious.
authorrupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Jun 2010 17:42:58 +0000 (17:42 +0000)
committerrupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Jun 2010 17:42:58 +0000 (17:42 +0000)
* config/alpha/alpha.c (alpha_need_linkage): Adjust
splay_tree_new_gcc_call.
(alpha_use_linkage): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161437 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 32d0a00..9823753 100644 (file)
@@ -1,3 +1,9 @@
+2010-06-26  Douglas B Rupp  <rupp@gnat.com>
+
+       * config/alpha/alpha.c (alpha_need_linkage): Adjust
+       splay_tree_new_gcc_call.
+       (alpha_use_linkage): Likewise.
+
 2010-06-26  Joseph Myers  <joseph@codesourcery.com>
 
        * collect2.c (main): Remove SWITCHES_NEED_SPACES conditional.
index 0246d5a..969ff1d 100644 (file)
@@ -9900,8 +9900,11 @@ alpha_need_linkage (const char *name, int is_local)
       struct alpha_funcs *cfaf;
 
       if (!alpha_funcs_tree)
-        alpha_funcs_tree = splay_tree_new_ggc ((splay_tree_compare_fn)
-                                              splay_tree_compare_pointers);
+        alpha_funcs_tree = splay_tree_new_ggc
+        (splay_tree_compare_pointers,
+         ggc_alloc_splay_tree_tree_node_tree_node_splay_tree_s,
+         ggc_alloc_splay_tree_tree_node_tree_node_splay_tree_node_s);
+
 
       cfaf = ggc_alloc_alpha_funcs ();
 
@@ -9937,7 +9940,10 @@ alpha_need_linkage (const char *name, int is_local)
        }
     }
   else
-    alpha_links_tree = splay_tree_new_ggc ((splay_tree_compare_fn) strcmp);
+    alpha_links_tree = splay_tree_new_ggc
+        ((splay_tree_compare_fn) strcmp,
+         ggc_alloc_splay_tree_str_alpha_links_splay_tree_s,
+         ggc_alloc_splay_tree_str_alpha_links_splay_tree_node_s);
 
   al = ggc_alloc_alpha_links ();
   name = ggc_strdup (name);
@@ -9995,7 +10001,10 @@ alpha_use_linkage (rtx func, tree cfundecl, int lflag, int rflag)
        al = (struct alpha_links *) lnode->value;
     }
   else
-    cfaf->links = splay_tree_new_ggc ((splay_tree_compare_fn) strcmp);
+    cfaf->links = splay_tree_new_ggc
+      ((splay_tree_compare_fn) strcmp,
+       ggc_alloc_splay_tree_str_alpha_links_splay_tree_s,
+       ggc_alloc_splay_tree_str_alpha_links_splay_tree_node_s);
 
   if (!al)
     {