It appears there is a bug in gcc's abs(). Slackware 12's gcc version 4.1.2
is affected.
see [url]http://lkml.org/lkml/2007/11/19/493[/url]
Printable View
It appears there is a bug in gcc's abs(). Slackware 12's gcc version 4.1.2
is affected.
see [url]http://lkml.org/lkml/2007/11/19/493[/url]
[email]rjckluin@hot_n0zpam_mail.com[/email] wrote:[color=blue]
> It appears there is a bug in gcc's abs(). Slackware 12's gcc version 4.1.2
> is affected.
>
> see [url]http://lkml.org/lkml/2007/11/19/493[/url][/color]
That's scary. i=2; -10 * abs(i-1) == 10 ?
Gcc bug report is here: [url]http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34130[/url]
Slackware 12.0 has gcc-4.1.2, but the bug is also in the latest gcc-4.2.2.
The bug fix is planned for gcc-4.2.3, says the report.