[BUG][GCC] *Serious* optimization bug: Any gcc specialists out there?
Gerardo Richarte
core.lists.squeak at core-sdi.com
Fri Aug 4 16:20:23 UTC 2000
Marcel Weiher wrote:
> marcel at spock[/tmp]cc bug.c ; ./a.out
>
> sin(arg1): -6.452513e-01
and then:
Juan Cires Martinez wrote:
>
> I also get "correct" results with:
>
> $ gcc -v
> Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.3/specs
> gcc version 2.7.2.3
>
> $ gcc -O3 sinbug.c -lm
> $ a.out
>
> sin(arg1): -7.469219e-01
>
> Greetings, Juan.
Isn't it strange? both correct answers are different! :-)
there's something wrong somewhere
Correct Bye!
Richie++
--- For a personal reply use gera at core-sdi.com
More information about the Squeak-dev
mailing list
|