Restore Solaris/SPARC bootstrap

* configure, config.h.in: Regenerate.
	* config/fpu-sysv.h: Include <assert.h>.

From-SVN: r212307
This commit is contained in:
Rainer Orth 2014-07-05 20:43:07 +00:00 committed by Rainer Orth
parent 9a62ed16dd
commit de51fc1b15
4 changed files with 29 additions and 0 deletions

View File

@ -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.

View File

@ -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

View File

@ -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. */

16
libgfortran/configure vendored
View File

@ -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 :