diff options
Diffstat (limited to 'gcc/tree-dump.c')
-rw-r--r-- | gcc/tree-dump.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-dump.c b/gcc/tree-dump.c index 8e911ab93ea..b7363c377c0 100644 --- a/gcc/tree-dump.c +++ b/gcc/tree-dump.c @@ -843,9 +843,9 @@ dump_register (const char *suffix, const char *swtch, const char *glob, extra_dump_files_alloced = 32; else extra_dump_files_alloced *= 2; - extra_dump_files = xrealloc (extra_dump_files, - sizeof (struct dump_file_info) - * extra_dump_files_alloced); + extra_dump_files = XRESIZEVEC (struct dump_file_info, + extra_dump_files, + extra_dump_files_alloced); } memset (&extra_dump_files[this], 0, sizeof (struct dump_file_info)); |