summaryrefslogtreecommitdiff
path: root/gcc/ggc-simple.c
diff options
context:
space:
mode:
authorBernd Schmidt <crux@gcc.gnu.org>1999-09-07 10:10:01 +0000
committerBernd Schmidt <crux@gcc.gnu.org>1999-09-07 10:10:01 +0000
commitafe3d09019946edd8476fa7e7fa965368e8b3904 (patch)
tree194b36b94e07894eebfa0d3294f15271a8a5be02 /gcc/ggc-simple.c
parent6bc2c8c8a62bab3cdfd5051b2fdfa6ee7a90b1c8 (diff)
downloadgcc-afe3d09019946edd8476fa7e7fa965368e8b3904.tar.gz
Commit parts that were missing in Mark's last commit
From-SVN: r29164
Diffstat (limited to 'gcc/ggc-simple.c')
-rw-r--r--gcc/ggc-simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ggc-simple.c b/gcc/ggc-simple.c
index c9181a9f319..60da127e7f2 100644
--- a/gcc/ggc-simple.c
+++ b/gcc/ggc-simple.c
@@ -133,7 +133,7 @@ ggc_alloc_rtvec (nelt)
int nelt;
{
struct ggc_rtvec *v;
- int size = sizeof (*v) + (nelt - 1) * sizeof (rtunion);
+ int size = sizeof (*v) + (nelt - 1) * sizeof (rtx);
v = (struct ggc_rtvec *) xmalloc (size);
bzero ((char *) v, size);
@@ -195,7 +195,7 @@ ggc_alloc_string (contents, length)
strings = s;
#ifdef GGC_DUMP
- fprintf(dump, "alloc string %p\n", &n->tree);
+ fprintf(dump, "alloc string %p\n", &s->string);
#endif
bytes_alloced_since_gc += size;