------- Comment #4 from danglin at gcc dot gnu dot org 2006-05-17 00:49 ------- This isn't a target bug as far as I can tell. The value generated by __builtin_nanf("") as shown by Nan2.c is 0x7fc00000. The same value is printed on x86. This is a signaling NaN. Positive quiet NaNs range between 0x7f800001 and 0x7fbfffff.
We have the following code for at -02: .LC0: .word 2143289344 .text .align 4 .globl main .type main, @function main: .PROC .CALLINFO FRAME=0,CALLS,SAVE_RP .ENTRY stw %r2,-20(%r30) ldil LR'.LC0,%r28 ldil LR'.LC1,%r26 ldw RR'.LC0(%r28),%r25 ldo RR'.LC1(%r26),%r26 ldw -20(%r30),%r2 bl printf,%r0 nop nop .EXIT 2143289344 is 0x7fc00000 hex. -- danglin at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |danglin at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27627