diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2014-07-05 20:43:07 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2014-07-05 20:43:07 +0000 |
commit | de51fc1b1567baa90799cf7077fbe72c1fc4dd15 (patch) | |
tree | 35c6cba4598a7230242b6cbdfd8e1e247325d7ac /libgfortran | |
parent | 9a62ed16dda57ee799dfd0ef12f1800cf48e5908 (diff) | |
download | gcc-de51fc1b1567baa90799cf7077fbe72c1fc4dd15.zip gcc-de51fc1b1567baa90799cf7077fbe72c1fc4dd15.tar.gz gcc-de51fc1b1567baa90799cf7077fbe72c1fc4dd15.tar.bz2 |
Restore Solaris/SPARC bootstrap
* configure, config.h.in: Regenerate.
* config/fpu-sysv.h: Include <assert.h>.
From-SVN: r212307
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 5 | ||||
-rw-r--r-- | libgfortran/config.h.in | 6 | ||||
-rw-r--r-- | libgfortran/config/fpu-sysv.h | 2 | ||||
-rwxr-xr-x | libgfortran/configure | 16 |
4 files changed, 29 insertions, 0 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 239cfc3..9f03a5c 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,8 @@ +2014-07-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * configure, config.h.in: Regenerate. + * config/fpu-sysv.h: Include <assert.h>. + 2014-07-02 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> * config/fpu-glibc.h: Fix comment about FE_DENORMAL. diff --git a/libgfortran/config.h.in b/libgfortran/config.h.in index 110fb6d..de7937f 100644 --- a/libgfortran/config.h.in +++ b/libgfortran/config.h.in @@ -396,9 +396,15 @@ /* Define to 1 if you have the `fork' function. */ #undef HAVE_FORK +/* fpresetsticky is present */ +#undef HAVE_FPRESETSTICKY + /* Define if you have fpsetmask. */ #undef HAVE_FPSETMASK +/* fpsetsticky is present */ +#undef HAVE_FPSETSTICKY + /* Define to 1 if you have the <fptrap.h> header file. */ #undef HAVE_FPTRAP_H diff --git a/libgfortran/config/fpu-sysv.h b/libgfortran/config/fpu-sysv.h index 0105cf7..8d8ff32 100644 --- a/libgfortran/config/fpu-sysv.h +++ b/libgfortran/config/fpu-sysv.h @@ -25,6 +25,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see /* FPU-related code for SysV platforms with fpsetmask(). */ +#include <assert.h> + /* BSD and Solaris systems have slightly different types and functions naming. We deal with these here, to simplify the code below. */ diff --git a/libgfortran/configure b/libgfortran/configure index f123c48..d6d26db 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -26100,6 +26100,22 @@ _ACEOF fi +# Check whether we have fpsetsticky or fpresetsticky +ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky" +if test "x$ac_cv_func_fpsetsticky" = x""yes; then : + have_fpsetsticky=yes +$as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h + +fi + +ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky" +if test "x$ac_cv_func_fpresetsticky" = x""yes; then : + have_fpresetsticky=yes +$as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h + +fi + + # Check for AIX fp_trap and fp_enable ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap" if test "x$ac_cv_func_fp_trap" = x""yes; then : |