summaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index a314e7b4430..be1e6fdcd0d 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -1004,7 +1004,7 @@ dbxout_init (const char *input_file_name)
const char *mapped_name;
typevec_len = 100;
- typevec = GGC_CNEWVEC (struct typeinfo, typevec_len);
+ typevec = ggc_alloc_cleared_vec_typeinfo (typevec_len);
/* stabstr_ob contains one string, which will be just fine with
1-byte alignment. */