aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/spew.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/spew.c')
-rw-r--r--gcc/cp/spew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/spew.c b/gcc/cp/spew.c
index 2c34192..27bc572 100644
--- a/gcc/cp/spew.c
+++ b/gcc/cp/spew.c
@@ -1023,7 +1023,7 @@ space_for_token (t)
if (t->last_pos != TOKEN_CHUNK_SIZE)
return t->last_chunk->toks + (t->last_pos++);
- t->last_chunk->next = ggc_alloc (sizeof (*t->last_chunk->next));
+ t->last_chunk->next = ggc_alloc_cleared (sizeof (*t->last_chunk->next));
t->last_chunk = t->last_chunk->next;
t->last_chunk->next = NULL;