http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57484
--- Comment #18 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Charles L. Wilcox from comment #17) > Okay... so why not avoid the x87 restriction and use aliasing to load the > correct value? Load to x87 stack? The very moment sNaN gets loaded (using fldl or flds) will be converted to qNaN. You can do some trick here (and the compiler can pass FP value in integer registers), but there is no guarantee that the value won't move through x87 stack registers.