diff options
Diffstat (limited to 'gcc/web.c')
-rw-r--r-- | gcc/web.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/web.c b/gcc/web.c index 820288b7e51..164fd17223c 100644 --- a/gcc/web.c +++ b/gcc/web.c @@ -249,9 +249,9 @@ web_main (void) df_reorganize_refs (&df->def_info); df_reorganize_refs (&df->use_info); - def_entry = xcalloc (DF_DEFS_SIZE (df), sizeof (struct web_entry)); - use_entry = xcalloc (DF_USES_SIZE (df), sizeof (struct web_entry)); - used = xcalloc (max, sizeof (char)); + def_entry = XCNEWVEC (struct web_entry, DF_DEFS_SIZE (df)); + use_entry = XCNEWVEC (struct web_entry, DF_USES_SIZE (df)); + used = XCNEWVEC (char, max); if (dump_file) df_dump (df, dump_file); |