------- Comment #7 from iano at apple dot com  2006-08-22 00:39 -------
Subject: Re:  __builtin_nan() and __builtin_unordered() inconsistent


On Aug 21, 2006, at 5:34 PM, pinskia at gcc dot gnu dot org wrote:

>
>
> ------- Comment #6 from pinskia at gcc dot gnu dot org  2006-08-22  
> 00:34 -------
> (In reply to comment #5)
>> My first complaint is that the implementation is inconsistent.
>
> It is not inconsistent really.  Just the -funsafe-math- 
> optimizations is done
> incorrectly for x86 (see the other bug which I keep on mentioning  
> over and over
> again).

Which part of:

__builtin_isunordered(nan,nan) = 1
__builtin_isnan(nan) = 0

is consistent?

[ollmia:/tmp] iano% gcc main3.c -Wall -ffinite-math-only; ./a.out


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28796

Reply via email to