Avoid some overflow cases:
authorIan Lance Taylor <ian@airs.com>
Wed, 12 Aug 1998 19:06:24 +0000 (19:06 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 12 Aug 1998 19:06:24 +0000 (19:06 +0000)
commit8c73afb3537b7271772a31466ec614a4d0634436
tree639323c1b8888bf5fe9abcccb505211b1d56383b
parent15ec5eb33b983e2900205cffd919cca52f8e1394
Avoid some overflow cases:
* basic_blocks.h (bb_min_calls): Change to unsigned long.
* call_graph.h (cg_tally): Change count parameter to unsigned
long.
* cg_arcs.h (Arc): Change count field to unsigned long.
(arc_add): Change count parameter to unsigned long.
* source.h (Source_File): Change ncalls field to unsigned long.
* symtab.h (Sym): Change fields ncalls, bb_calls, and
cg.self_calls to unsigned long.
* Many files: Update accordingly.
19 files changed:
gprof/ChangeLog
gprof/alpha.c
gprof/basic_blocks.c
gprof/basic_blocks.h
gprof/call_graph.c
gprof/call_graph.h
gprof/cg_arcs.c
gprof/cg_arcs.h
gprof/cg_print.c
gprof/gmon_io.c
gprof/gprof.c
gprof/hist.c
gprof/i386.c
gprof/source.h
gprof/sparc.c
gprof/sym_ids.c
gprof/symtab.h
gprof/tahoe.c
gprof/vax.c