This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Error in decode_c4x_extended in real.c
- From: "Unruh, Erwin" <Erwin dot Unruh at fujitsu-siemens dot com>
- To: gcc-bugs at gcc dot gnu dot org
- Cc: "Unruh, Erwin" <Erwin dot Unruh at fujitsu-siemens dot com>
- Date: Fri, 28 Feb 2003 09:46:05 +0100
- Subject: Error in decode_c4x_extended in real.c
Hello,
in the latest snapshot (gcc-20030224) the function decode_c4x_extended contains a line
exp = (((exp >> 24) & 0xff) & 0x80) - 0x80;
this should read
exp = (((exp >> 24) & 0xff) ^ 0x80) - 0x80;
similar to the other decode_c4x function. The difference is a ^ instead of a &.
Erwin
Erwin Unruh, Fujitsu Siemens Computers, C/C++ compiler group