https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109008
--- Comment #29 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- Created attachment 54604 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54604&action=edit untested patch for NAN state copying This is what I had in mind. Notice I haven't touched the fields in frange itself, to keep disruption to a minimum in this release. In the next release we could replace m_pos_nan and m_neg_nan with nan_state. If this helps, I could test and document it.