This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gcov] Simplify read/write functions


> Hi,
> This patch simplifies the gcov data marshalling interface. Rather
> than return an error code, we have a sticky global error flag. This
> allows us to simply return the read values, rather than have a pointer
> parameter.
> 
> This change reduces the (i86) text size of libgcov from 6306 bytes to
> 5810 bytes (not that that was the primary goal of this patch).

This looks fine to me :).  Reducing the size would get us nearer to
possible use in embedded environments.

Do you have some futher changes to the area in queue?  If not, I will
probably update my patch to avoid second pass and kill the max_sum
field so we will be able to use gcov in parallel make environment.
Looks like sane plan?

Honza


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]