[Bug target/57484] 'std::numeric_limits< T >::signaling_NaN()' signaling-bit is incorrect for x86 32-bit.

zxClhzAApX1EdJwQANqrjLERmFeURQVy at cynd dot net gcc-bugzilla@gcc.gnu.org
Tue Jul 9 21:27:00 GMT 2013


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

Charles L. Wilcox <zxClhzAApX1EdJwQANqrjLERmFeURQVy at cynd dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #30239|0                           |1
        is obsolete|                            |

--- Comment #16 from Charles L. Wilcox <zxClhzAApX1EdJwQANqrjLERmFeURQVy at cynd dot net> ---
Created attachment 30487
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30487&action=edit
Expanded unit-test code to set signaling-NaN values via 'union' aliasing.

Adding code to demonstrate how to generate a signaling-NaN using the existing
ABI along with the "return through the x87 register" restriction.



More information about the Gcc-bugs mailing list