[PATCH] statistics.c: Fix a potential compiler bug triggered in gcc 3.4.5

Dirk Hohndel dirk at hohndel.org
Sat Feb 23 08:19:07 PST 2013


"Lubomir I. Ivanov" <neolit123 at gmail.com> writes:
> please mind that i'm perfectly ok with this not being included, still i think
> it should be or at least i would include fixes like that. my reasoning is that
> if someone decides to use said compiler (which is unlikely) and statistics.c
> haven't changed much he will definitelly encounter that bug and i will then
> have to waste time explaining the issue again.

Can I get another version of this patch with the compiler version /
platform / OS included in the commit message, please?

> the obvious fix is to send patch to the gcc folks, but i hardly believe anyone
> maintains this 6y/o version anymore.

Right

> again, if the patch is NACK-ed, i will probably just write a SED script
> for my own needs and i'm good to go. :)

Have you checked if there are other places in the source that use the
same construct?

/D


More information about the subsurface mailing list