diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-11-08 04:56:18 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-11-08 04:56:18 +0000 |
commit | 4da896b292ef313d2c365eefc33c088f77f71baf (patch) | |
tree | 208424c6ec3b805174618dc54704dbe65bd2d6fc /gcc/regclass.c | |
parent | 8d170590175c07873ad68a42c5cc98457edba4d9 (diff) | |
download | gcc-4da896b292ef313d2c365eefc33c088f77f71baf.zip gcc-4da896b292ef313d2c365eefc33c088f77f71baf.tar.gz gcc-4da896b292ef313d2c365eefc33c088f77f71baf.tar.bz2 |
cse.c (delete_trivially_dead_insns): Replace alloca with xmalloc/xcalloc.
* cse.c (delete_trivially_dead_insns): Replace alloca with
xmalloc/xcalloc.
* except.c (update_rethrow_references): Likewise.
(init_eh_nesting_info): Likewise.
* function.c (identify_blocks): Likewise.
* gcse.c (dump_hash_table): Likewise.
* graph.c (print_rtl_graph_with_bb): Likewise.
* loop.c (combine_movables): Likewise.
(move_movables): Likewise.
(count_loop_regs_set): Likewise.
(strength_reduce): Likewise.
* profile.c (compute_branch_probabilities): New function, split
out from ...
(branch_prob): Here. Replace alloca with xmalloc/xcalloc.
* regclass.c (regclass): Likewise.
* regmove.c (regmove_optimize): Likewise.
* toplev.c (compile_file): Likewise.
(main): Don't mess with the stack rlimit.
From-SVN: r30445
Diffstat (limited to 'gcc/regclass.c')
-rw-r--r-- | gcc/regclass.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/regclass.c b/gcc/regclass.c index dfbc85c..d495fdc 100644 --- a/gcc/regclass.c +++ b/gcc/regclass.c @@ -965,7 +965,7 @@ regclass (f, nregs) #ifdef FORBIDDEN_INC_DEC_CLASSES - in_inc_dec = (char *) alloca (nregs); + in_inc_dec = (char *) xmalloc (nregs); /* Initialize information about which register classes can be used for pseudos that are auto-incremented or auto-decremented. It would @@ -1109,6 +1109,9 @@ regclass (f, nregs) } } +#ifdef FORBIDDEN_INC_DEC_CLASSES + free (in_inc_dec); +#endif free (costs); } |