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/gcov.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/gcov.c')
-rw-r--r-- | gcc/gcov.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -997,10 +997,10 @@ output_data () bzero (line_exists, s_ptr->maxlineno); if (output_branch_probs) { - branch_probs = (struct arcdata **) xmalloc (sizeof (struct arcdata **) + branch_probs = (struct arcdata **) xmalloc (sizeof (struct arcdata *) * s_ptr->maxlineno); bzero ((char *) branch_probs, - sizeof (struct arcdata **) * s_ptr->maxlineno); + sizeof (struct arcdata *) * s_ptr->maxlineno); } /* There will be a zero at the beginning of the bb info, before the |