This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gcov] Simplify read/write functions
- From: Jan Hubicka <jh at suse dot cz>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: mark at codesourcery dot com, gcc-patches at gcc dot gnu dot org
- Date: Wed, 9 Apr 2003 17:00:33 +0200
- Subject: Re: [gcov] Simplify read/write functions
- References: <3E93EC8B.6070609@codesourcery.com>
> 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