diff options
author | Graham Stott <grahams@rcp.co.uk> | 1998-10-09 09:08:51 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1998-10-09 09:08:51 -0700 |
commit | 2a92c071f8d1295f3672a0683f1f2cc917ddeb40 (patch) | |
tree | e24dc2e8c37807b8a57f438eb8d0c3954a1a2ece /gcc/local-alloc.c | |
parent | dc2ede84e6be8d3bac83fd0f3433c1ab71965d2a (diff) | |
download | gcc-2a92c071f8d1295f3672a0683f1f2cc917ddeb40.tar.gz |
flow.c (print_rtl_with_bb): Changed type of in_bb_p to match use.
Fri Oct 9 16:03:19 1998 Graham <grahams@rcp.co.uk>
* flow.c (print_rtl_with_bb): Changed type of in_bb_p to match use.
* gcc.c (add_preprocessor_option): Correct typo when allocating
memory, sizeof() argument had one too many `*'.
(add_assembler_option): Likewise.
(add_linker_option): Likewise.
* gcov.c (output_data): Likewise.
* local-alloc.c (memref_used_between_p): Likewise.
(update_equiv_regs): Likewise.
* loop.c (strength_reduce): Likewise.
* reg-stack.c (record_asm_reg_life): Likewise.
(subst_asm_stack_reg): Likewise.
* reorg.c (dbr_schedule): Likewise.
From-SVN: r22964
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r-- | gcc/local-alloc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c index 3bcd4f8e1b1..462755fda42 100644 --- a/gcc/local-alloc.c +++ b/gcc/local-alloc.c @@ -633,7 +633,7 @@ memref_used_between_p (memref, start, end) static void update_equiv_regs () { - rtx *reg_equiv_init_insn = (rtx *) alloca (max_regno * sizeof (rtx *)); + rtx *reg_equiv_init_insn = (rtx *) alloca (max_regno * sizeof (rtx)); /* Set when an attempt should be made to replace a register with the associated reg_equiv_replacement entry at the end of this function. */ char *reg_equiv_replace @@ -641,10 +641,10 @@ update_equiv_regs () rtx insn; int block, depth; - reg_equiv_replacement = (rtx *) alloca (max_regno * sizeof (rtx *)); + reg_equiv_replacement = (rtx *) alloca (max_regno * sizeof (rtx)); - bzero ((char *) reg_equiv_init_insn, max_regno * sizeof (rtx *)); - bzero ((char *) reg_equiv_replacement, max_regno * sizeof (rtx *)); + bzero ((char *) reg_equiv_init_insn, max_regno * sizeof (rtx)); + bzero ((char *) reg_equiv_replacement, max_regno * sizeof (rtx)); bzero ((char *) reg_equiv_replace, max_regno * sizeof *reg_equiv_replace); init_alias_analysis (); |