summaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-09 16:08:51 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1998-10-09 16:08:51 +0000
commit7426c2df49b661a536d80182118d25b5e701eb30 (patch)
treee24dc2e8c37807b8a57f438eb8d0c3954a1a2ece /gcc/gcov.c
parentcfc185a4caa36029674ec56b1fb00deecee1166e (diff)
downloadgcc-7426c2df49b661a536d80182118d25b5e701eb30.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22964 138bc75d-0d04-0410-961f-82ee72b054a4
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 eff68f1608a..501c81befb5 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