OMG, -10==10 in linux! (with gcc prior to 20071117)

Alexander E. Patrakov patrakov at gmail.com
Wed Nov 21 03:30:45 MST 2007


2007/11/21, Bruce Dubbs <bruce.dubbs at gmail.com>:
> Alexander E. Patrakov wrote:
>
> > I will do a local build of the LiveCD with a patched gcc. The patch is
> > different from the official fix: I added a warning that fires if gcc
> > sees negative_const * abs(something). The intention is to grep through
> > the logs for this new warning and thus count all cases that the old
> > gcc has miscompiled on the old LiveCD.
>
> That sounds like a really good idea.  I'll be interested in your results.

The only affected package on the LiveCD is libtheora-1.0alpha7, file
lib/pp.c, lines 363 and 383. This piece of code does deringing of the
image, thus, the effect is expected to be visible with anime and
similar content.

-- 
Alexander E. Patrakov


More information about the lfs-dev mailing list