This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][BZ #5768 fix SIGFPE in isnan(0 for SNaN


The attached patch fixes a problem we found in PPC where GCC4.1+ code
motion rearranges the inline asm macros for isnan(). GCC moves the
(x==x) after the original fpscr (with FE_INVALID enabled) is restored.
If a Signaling NaN is passed we will get a SIGFPE.

Attachment: ppc-isnan-20080218.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]