This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc compiler bug
- To: Dale Williamson <Dale dot Williamson at trw dot com>
- Subject: Re: gcc compiler bug
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Thu, 1 Jun 2000 09:55:49 +1000 (EST)
- cc: bug-gcc at gnu dot org, Al Danial <Al dot Danial at trw dot com>
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.