diff options
Diffstat (limited to 'gcc/reg-stack.c')
-rw-r--r-- | gcc/reg-stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index fc59118d5e7..8ab9aae32cc 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -2926,7 +2926,7 @@ convert_regs_2 (FILE *file, basic_block block) is only processed after all its predecessors. The number of predecessors of every block has already been computed. */ - stack = xmalloc (sizeof (*stack) * n_basic_blocks); + stack = XNEWVEC (basic_block, n_basic_blocks); sp = stack; *sp++ = block; |