PR 48977 Denormal exception on glibc targets

Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>

From-SVN: r173952
This commit is contained in:
Janne Blomqvist 2011-05-20 17:45:51 +03:00
parent 6c66f73369
commit 9272cac88a
2 changed files with 13 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2011-05-20 Janne Blomqvist <jb@gcc.gnu.org>
Uros Bizjak <ubizjak@gmail.com>
PR libfortran/48977
* configure.host: Swap order of glibc and x86 tests.
2011-05-20 Janne Blomqvist <jb@gcc.gnu.org>
* config/fpu-387.h (set_fpu): Use renamed inexact macro.

View File

@ -20,17 +20,17 @@
# DEFAULTS
fpu_host='fpu-generic'
# HOST-SPECIFIC OVERRIDES
if test "x${have_feenableexcept}" = "xyes"; then
fpu_host='fpu-glibc'
fi
# x86 asm should be used instead of glibc, since glibc doesn't support
# the x86 denormal exception.
case "${host_cpu}" in
i?86 | x86_64)
fpu_host='fpu-387' ;;
esac
# CONFIGURATION-SPECIFIC OVERRIDES
if test "x${have_feenableexcept}" = "xyes"; then
fpu_host='fpu-glibc'
fi
if test "x${have_fpsetmask}" = "xyes"; then
fpu_host='fpu-sysv'
fi