gcc compiler bug

Alan Modra alan@linuxcare.com.au
Wed May 31 16:57:00 GMT 2000


On Wed, 31 May 2000, Dale Williamson wrote:

> Synopsis: under certain circumstances the bits of a double number re-
> turned from a function may not be reliably transferred to a variable
> across an equal sign, as in the expression: (double)X = (double)func()

I think you need to read an 80x87 programmer's reference. :-)

Hint: The first two bit patterns you're playing with are NaNs.

-- 
Linuxcare.  Support for the Revolution.



More information about the Gcc-bugs mailing list