This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Questionable code in gcov-io.c
On Wed, Oct 12, 2016 at 10:47:07AM -0400, Nathan Sidwell wrote:
> On 10/12/16 09:43, Marek Polacek wrote:
>
> > > ITYM lines 197 -> 203. I.e. remove the entire if that;s inside the 'mode ==
> > > 0' branch and make line 203 unconditional.
> >
> > Yes, sorry for sloppy wording. I'm testing a patch.
>
> Here's the patch I've tested (but not bootstrapped). As the incoming mode
> is -1, 0 or +1 we can make things considerably simpler.
Great, thanks.
Marek