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]

Re: assignment problem with doubles: getting -NaN unexpectedly


Bill Gribble wrote:
> This problem has hit me, too, with gcc-2.95.2 and very recent libc and
> linux kernel.  With -O3, simple double math (no division) results in
> NaN sporadically, but inserting debugging print statements seems to
> make this not happen.

See my post ("gcc 2.95.1 bug") earlier this month to gcc-bugs for a
similar case, including a test program that reliably produces the
mysterious NaNs (confirmed by at least one other person).

I wish I knew how to better bring this to the attention of a gcc hacker;
this is a real obstacle for me right now.

Cordially,
Steven G. Johnson


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