Heh heh - yeah...slembcke wrote:Eeek. That is nasty, and I do a lot of similar things in Chipmunk. Actually I don't understand how a bug like that could have slipped past their QC... Nearly every graphics program on earth does stuff like that.
I've done a few tests with the compiler options and found the optimization settings to produce the following results for ChipmunkDemo:
1. -O0 (None) is fine, expected since this is the default for debug builds
2. -O, -O1 (fast) is fine
3. -O2 (faster) is broken
4. -O3 (fastest) is broken
5. -Os (fastest, smallest) is broken