summaryrefslogtreecommitdiffstats
path: root/gcc/regrename.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/regrename.c')
-rw-r--r--gcc/regrename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/regrename.c b/gcc/regrename.c
index e4b7894d737..8d2a286ccb7 100644
--- a/gcc/regrename.c
+++ b/gcc/regrename.c
@@ -1797,7 +1797,7 @@ copyprop_hardreg_forward (void)
need_refresh = false;
- all_vd = xmalloc (sizeof (struct value_data) * last_basic_block);
+ all_vd = XNEWVEC (struct value_data, last_basic_block);
visited = sbitmap_alloc (last_basic_block);
sbitmap_zero (visited);
OpenPOWER on IntegriCloud