diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/reg-stack.c | 11 |
2 files changed, 7 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0fc7e36..56893e6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Mon Apr 12 14:58:30 MET DST 1999 Jan Hubicka <hubicka@freesoft.cz> + + * reg-stack.c (check_stack_regs_mentioned): Remove variable SIZE. + Mon Apr 12 19:15:17 1999 Daniel Jacobowitz <dan@debian.org> * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Add missing backslash. diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index f843b17..4a27296 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -296,14 +296,9 @@ check_stack_regs_mentioned (insn) { unsigned int uid = INSN_UID (insn); if (uid >= VARRAY_SIZE (stack_regs_mentioned_data)) - { - unsigned int size = VARRAY_SIZE (stack_regs_mentioned_data); - - /* Allocate some extra size to avoid too many reallocs, but - do not grow exponentially. */ - size = uid + uid / 20; - VARRAY_GROW (stack_regs_mentioned_data, size); - } + /* Allocate some extra size to avoid too many reallocs, but + do not grow exponentially. */ + VARRAY_GROW (stack_regs_mentioned_data, uid + uid / 20); if (stack_regs_mentioned_p (PATTERN (insn))) { VARRAY_CHAR (stack_regs_mentioned_data, uid) = 1; |