e770bfd997
The i386 sfp-machine.h defines FP_TRAPPING_EXCEPTIONS in a way that is always wrong: it treats a set bit as indicating the exception is trapping, when actually a set bit (both for 387 and SSE floating point) indicates it is masked, and a clear bit indicates it is trapping. This patch fixes this bug. Bootstrapped with no regressions on x86_64-unknown-linux-gnu. libgcc: * config/i386/sfp-machine.h (FP_TRAPPING_EXCEPTIONS): Treat clear bits not set bits as indicating trapping exceptions. gcc/testsuite: * gcc.dg/torture/float128-exact-underflow.c: New test. From-SVN: r215347 |
||
---|---|---|
.. | ||
32 | ||
64 | ||
cpuinfo.c | ||
crtfastmath.c | ||
crti.S | ||
crtn.S | ||
crtprec.c | ||
cygming-crtbegin.c | ||
cygming-crtend.c | ||
cygwin.S | ||
darwin-lib.h | ||
dragonfly-unwind.h | ||
enable-execute-stack-mingw32.c | ||
gthr-win32.c | ||
gthr-win32.h | ||
libgcc-bsd.ver | ||
libgcc-cygming.ver | ||
libgcc-darwin.10.4.ver | ||
libgcc-darwin.10.5.ver | ||
libgcc-glibc.ver | ||
libgcc-sol2.ver | ||
linux-unwind.h | ||
morestack.S | ||
sfp-exceptions.c | ||
sfp-machine.h | ||
sol2-c1.S | ||
sol2-unwind.h | ||
t-chkstk | ||
t-cpuinfo | ||
t-crtfm | ||
t-crtpc | ||
t-crtstuff | ||
t-cygming | ||
t-cygwin | ||
t-darwin | ||
t-dlldir | ||
t-dlldir-x | ||
t-dw2-eh | ||
t-freebsd | ||
t-gthr-win32 | ||
t-interix | ||
t-linux | ||
t-mingw32 | ||
t-mingw-pthread | ||
t-nto | ||
t-seh-eh | ||
t-sjlj-eh | ||
t-slibgcc-cygming | ||
t-softfp | ||
t-sol2 | ||
t-stack-i386 | ||
value-unwind.h | ||
w32-unwind.h |