aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDouglas B Rupp <rupp@gnat.com>2010-06-26 17:42:58 +0000
committerDouglas Rupp <rupp@gcc.gnu.org>2010-06-26 17:42:58 +0000
commitdf4537318e613ba0fbe772af6467659649e6c92b (patch)
tree47883f606df46e554e5b1a95332c1b81c8148f69 /gcc
parentd5d8b1117e33f514ef6cacae4e6f6663c795152c (diff)
downloadgcc-df4537318e613ba0fbe772af6467659649e6c92b.zip
gcc-df4537318e613ba0fbe772af6467659649e6c92b.tar.gz
gcc-df4537318e613ba0fbe772af6467659649e6c92b.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/alpha/alpha.c17
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 <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.
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)
{