From df4537318e613ba0fbe772af6467659649e6c92b Mon Sep 17 00:00:00 2001 From: Douglas B Rupp Date: Sat, 26 Jun 2010 17:42:58 +0000 Subject: [PATCH] Fix the Alpha/VMS build. Installed as obvious. * config/alpha/alpha.c (alpha_need_linkage): Adjust splay_tree_new_gcc_call. (alpha_use_linkage): Likewise. From-SVN: r161437 --- gcc/ChangeLog | 6 ++++++ gcc/config/alpha/alpha.c | 17 +++++++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 32d0a00..9823753 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-06-26 Douglas B Rupp + + * config/alpha/alpha.c (alpha_need_linkage): Adjust + splay_tree_new_gcc_call. + (alpha_use_linkage): Likewise. + 2010-06-26 Joseph Myers * collect2.c (main): Remove SWITCHES_NEED_SPACES conditional. diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 0246d5a..969ff1d 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -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) { -- 2.7.4