http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57363
--- Comment #2 from Adhemerval Zanella <azanella at linux dot vnet.ibm.com> --- You are correct and I meant in my first comment QNaN for the NaN work. And I believe the patch is still correct: for IBM long double SNaN will be represented by first double being the NaN (the second double is ignored) and the first sum (z = a + c) will trigger exception if any.