This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]