[Bug c/21607] Optimizations convert 0 to -0 leading to difference in answers.

2005-05-16 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-16 14:08 --- (In reply to comment #5) > How do I report it to Apple? On their site > > http://developer.apple.com/documentation/DeveloperTools/gcc-3.3/gcc/gccbug.html#gccbug http://bugreport.apple.com -- http://gc

[Bug c/21607] Optimizations convert 0 to -0 leading to difference in answers.

2005-05-16 Thread fsmith at mathworks dot com
--- Additional Comments From fsmith at mathworks dot com 2005-05-16 14:04 --- How do I report it to Apple? On their site http://developer.apple.com/documentation/DeveloperTools/gcc-3.3/gcc/gccbug.html#gccbug they told me to report it here (effectively). But since, for reasons unknown

[Bug c/21607] Optimizations convert 0 to -0 leading to difference in answers.

2005-05-16 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-16 13:53 --- This is a bug in Apple's GCC, it uses fmadd instructions when it is not safe, please report this to Apple, I think it is fixed in Apple's 4.0.0 GCC based compiler. -- What|Removed

[Bug c/21607] Optimizations convert 0 to -0 leading to difference in answers.

2005-05-16 Thread fsmith at mathworks dot com
--- Additional Comments From fsmith at mathworks dot com 2005-05-16 13:50 --- Information from gcc -save-temps -v follows: Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs Thread model: posix gcc version 3.3 20030304 (Apple Computer, Inc. build 1495) /usr/libexec/gcc/darwin/ppc

[Bug c/21607] Optimizations convert 0 to -0 leading to difference in answers.

2005-05-16 Thread fsmith at mathworks dot com
--- Additional Comments From fsmith at mathworks dot com 2005-05-16 13:49 --- Created an attachment (id=8902) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8902&action=view) Pre-processed version of previous attachment. Preprocessed version of previous file. The previous C file w

[Bug c/21607] Optimizations convert 0 to -0 leading to difference in answers.

2005-05-16 Thread fsmith at mathworks dot com
--- Additional Comments From fsmith at mathworks dot com 2005-05-16 13:48 --- Created an attachment (id=8901) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8901&action=view) Minimal self-contained C program exhibiting problem The answer provided by this program changes depending o