make gcov counters 64bit take 2

Jan Hubicka jh@suse.cz
Fri Jun 15 05:10:00 GMT 2001


> On Fri, 15 Jun 2001, Jan Hubicka wrote:
> 
> > > > This way 72bit long targets noted by Lars will be happy.
> > > 
> > > Are any changes needed to the gcov file format specifications in 
> > > gcov.texi, or are those still accurate?
> > Actually looking at the docs, they are still accurate.  Values are already
> > 8byte, only truncated on 32bit machines.
> 
> So, what size are they on systems with non-8-bit bytes?  Clarify this,
> including for systems where the hardware byte (BITS_PER_UNIT) is smaller
> than the C language byte (CHAR_TYPE_SIZE) (if we really support such
> systems, and no-one has answered my question about support for
> BITS_PER_UNIT != CHAR_TYPE_SIZE either way).
Current implementation (independently on my changes) saves always
8 chars using the normail stdio functions.  This probably means that
on targets with sizeof(char) != 8, we will not be able to read data
back to the cross compiler.

This is independent on my changes, so lets track it down as independent
issue.
Is there already some way to read and write data with 8bit blocks, or
we need to invent one?

Honza
> 
> -- 
> Joseph S. Myers
> jsm28@cam.ac.uk



More information about the Gcc-patches mailing list