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

Alexander E. Patrakov patrakov at gmail.com
Wed Nov 21 07:51:49 MST 2007


2007/11/21, Bruce Dubbs <bruce.dubbs at gmail.com>:
> Well, we only have xmms in BLFS and it is out of date.  They just
> released a new xmms last week (after four years).
>
> I was curious and looked at the xmms source for both 1.2.10 and 1.2.11,
> but a grep couldn't find a use of abs() times a negative constant in either.
>
> I do think we need to put a patch and an errata comment out on LFS 6.3
> though.

xmms is not affected, only a third-party visualization plugin was
thought to be affected. And even it is really not affected: because of
conversions between double and int, gcc does not attempt to fold
constants in that case.

-- 
Alexander E. Patrakov


More information about the lfs-dev mailing list