I have committed the following patch. When a bucket of the gprof histogram overflowed (exceeded the 64k limit) the other buckets which did not overflow were being counted again in the subsequent histogram(s). 2003-05-13 Dave Brolley * gprof.cxx (profiling_components): Set bucket count to zero when it is empty.