From 8b861be4baca81ee9dc56934ba9fd27674523328 Mon Sep 17 00:00:00 2001 From: mmitchel Date: Mon, 1 Nov 1999 23:19:44 +0000 Subject: * bitmap.h (BITMAP_XMALLOC): New macro. * flow.c (CLEAN_ALLOCA): Remove. (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca. (life_analysis): Likewise. (update_life_info): Don't use CLEAN_ALLOCA. (life_analysis_1): Use xmalloc/xcalloc instead of alloca. (calculate_global_regs_live): Likewise. (print_rtl_with_bb): Likewise. (verify_flow_info): Likewise. * global.c (global_alloc): Likewise. (global_conflicts): Likewise. * integrate.c (save_for_inline_nocopy): Likewise. (expand_inline_function): Likewise. * jump.c (jump_optimize_1): Likewise. (duplicate_loop_exit_test): Likewise. (thread_jumps): Likewise. * loop.c (loop_optimize): Likewise. (combine_givs): Likewise. (recombine_givs): Likewise. * reorg.c (dbr_schedule): Likewise. * unroll.c (unroll_loop): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30333 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/reorg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/reorg.c') diff --git a/gcc/reorg.c b/gcc/reorg.c index c3ca654f672..1ba5feb181a 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -3531,7 +3531,7 @@ dbr_schedule (first, file) epilogue_insn = insn; } - uid_to_ruid = (int *) alloca ((max_uid + 1) * sizeof (int)); + uid_to_ruid = (int *) xmalloc ((max_uid + 1) * sizeof (int)); for (i = 0, insn = first; insn; i++, insn = NEXT_INSN (insn)) uid_to_ruid[INSN_UID (insn)] = i; @@ -3676,5 +3676,6 @@ dbr_schedule (first, file) REG_NOTES (insn)); } free_resource_info (); + free (uid_to_ruid); } #endif /* DELAY_SLOTS */ -- cgit v1.2.1