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/reg-stack.c | |
parent | dc2ede84e6be8d3bac83fd0f3433c1ab71965d2a (diff) | |
download | gcc-2a92c071f8d1295f3672a0683f1f2cc917ddeb40.zip gcc-2a92c071f8d1295f3672a0683f1f2cc917ddeb40.tar.gz gcc-2a92c071f8d1295f3672a0683f1f2cc917ddeb40.tar.bz2 |
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/reg-stack.c')
-rw-r--r-- | gcc/reg-stack.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index a7a5fb7..b8fc938 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -921,10 +921,10 @@ record_asm_reg_life (insn, regstack, operands, constraints, int malformed_asm = 0; rtx body = PATTERN (insn); - int *operand_matches = (int *) alloca (n_operands * sizeof (int *)); + int *operand_matches = (int *) alloca (n_operands * sizeof (int)); enum reg_class *operand_class - = (enum reg_class *) alloca (n_operands * sizeof (enum reg_class *)); + = (enum reg_class *) alloca (n_operands * sizeof (enum reg_class)); int reg_used_as_output[FIRST_PSEUDO_REGISTER]; int implicitly_dies[FIRST_PSEUDO_REGISTER]; @@ -950,7 +950,7 @@ record_asm_reg_life (insn, regstack, operands, constraints, if (GET_CODE (body) == PARALLEL) { - clobber_reg = (rtx *) alloca (XVECLEN (body, 0) * sizeof (rtx *)); + clobber_reg = (rtx *) alloca (XVECLEN (body, 0) * sizeof (rtx)); for (i = 0; i < XVECLEN (body, 0); i++) if (GET_CODE (XVECEXP (body, 0, i)) == CLOBBER) @@ -2443,9 +2443,9 @@ subst_asm_stack_regs (insn, regstack, operands, operands_loc, constraints, int first_input = n_outputs; rtx body = PATTERN (insn); - int *operand_matches = (int *) alloca (n_operands * sizeof (int *)); + int *operand_matches = (int *) alloca (n_operands * sizeof (int)); enum reg_class *operand_class - = (enum reg_class *) alloca (n_operands * sizeof (enum reg_class *)); + = (enum reg_class *) alloca (n_operands * sizeof (enum reg_class)); rtx *note_reg; /* Array of note contents */ rtx **note_loc; /* Address of REG field of each note */ @@ -2517,8 +2517,8 @@ subst_asm_stack_regs (insn, regstack, operands, operands_loc, constraints, if (GET_CODE (body) == PARALLEL) { - clobber_reg = (rtx *) alloca (XVECLEN (body, 0) * sizeof (rtx *)); - clobber_loc = (rtx **) alloca (XVECLEN (body, 0) * sizeof (rtx **)); + clobber_reg = (rtx *) alloca (XVECLEN (body, 0) * sizeof (rtx)); + clobber_loc = (rtx **) alloca (XVECLEN (body, 0) * sizeof (rtx *)); for (i = 0; i < XVECLEN (body, 0); i++) if (GET_CODE (XVECEXP (body, 0, i)) == CLOBBER) |