aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
authorGraham Stott <grahams@rcp.co.uk>1998-10-09 09:08:51 -0700
committerRichard Henderson <rth@gcc.gnu.org>1998-10-09 09:08:51 -0700
commit2a92c071f8d1295f3672a0683f1f2cc917ddeb40 (patch)
treee24dc2e8c37807b8a57f438eb8d0c3954a1a2ece /gcc/gcov.c
parentdc2ede84e6be8d3bac83fd0f3433c1ab71965d2a (diff)
downloadgcc-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c
index eff68f1..501c81b 100644
--- a/gcc/gcov.c
+++ b/gcc/gcov.c
@@ -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