Bug#407945: abuse: aiming goes crazy in left, and down, quadrant

jasen jasen at free.net.nz
Tue Jun 19 11:30:19 UTC 2007


On Sun, Jun 17, 2007 at 01:03:03PM +0000, Debian Bug Tracking System wrote:

it seems to be a gcc optimisation bug in lisp_atan2()
(found in src/lisp.cpp)

compiling that file with -O0 instead of -O2 fixes it.


attached is a modified lisp_atan2() that gcc has no problems with.
(this one works OK if compiled with -02)

FWIW$ gcc --version
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)

I've reporting the bug in gcc

Bye.
   Jasen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix.cpp
Type: text/x-csrc
Size: 1252 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20070619/2ed79029/attachment.c 


More information about the Pkg-games-devel mailing list