re PR target/56347 (FAIL: gfortran.dg/integer_exponentiation_2.f90 -O2 execution test)

PR target/56347
	* acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): Remove check for
	broken powf.
	* configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Likewise.
	* intrinsics/c99_functions.c: Likewise.
	* configure: Rebuilt.
	* config.h.in: Rebuilt.

From-SVN: r196139
This commit is contained in:
John David Anglin 2013-02-19 14:01:40 +00:00 committed by John David Anglin
parent 242387fa90
commit 406defcb58
6 changed files with 10 additions and 42 deletions

View File

@ -1,3 +1,13 @@
2013-02-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/56347
* acinclude.m4 (LIBGFOR_CHECK_FOR_BROKEN_POWF): Remove check for
broken powf.
* configure.ac (LIBGFOR_CHECK_FOR_BROKEN_POWF): Likewise.
* intrinsics/c99_functions.c: Likewise.
* configure: Rebuilt.
* config.h.in: Rebuilt.
2013-02-06 Janus Weil <janus@gcc.gnu.org>
PR fortran/55978

View File

@ -257,18 +257,6 @@ __mingw_snprintf (NULL, 0, "%d\n", 1);
fi
])
dnl Check whether we have a broken powf implementation
AC_DEFUN([LIBGFOR_CHECK_FOR_BROKEN_POWF], [
AC_CACHE_CHECK([whether powf is broken], libgfor_cv_have_broken_powf, [
case "${target}" in
hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
*) libgfor_cv_have_broken_powf=no;;
esac])
if test x"$libgfor_cv_have_broken_powf" = xyes; then
AC_DEFINE(HAVE_BROKEN_POWF, 1, [Define if powf is broken.])
fi
])
dnl Check whether we have a __float128 type
AC_DEFUN([LIBGFOR_CHECK_FLOAT128], [
LIBQUADSPEC=

View File

@ -81,9 +81,6 @@
/* Define to 1 if the target supports __attribute__((visibility(...))). */
#undef HAVE_ATTRIBUTE_VISIBILITY
/* Define if powf is broken. */
#undef HAVE_BROKEN_POWF
/* Define to 1 if you have the `cabs' function. */
#undef HAVE_CABS

22
libgfortran/configure vendored
View File

@ -25592,28 +25592,6 @@ $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
fi
# Check for a broken powf implementation
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
$as_echo_n "checking whether powf is broken... " >&6; }
if test "${libgfor_cv_have_broken_powf+set}" = set; then :
$as_echo_n "(cached) " >&6
else
case "${target}" in
hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
*) libgfor_cv_have_broken_powf=no;;
esac
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
$as_echo "$libgfor_cv_have_broken_powf" >&6; }
if test x"$libgfor_cv_have_broken_powf" = xyes; then
$as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
fi
# Check whether libquadmath should be used
# Check whether --enable-libquadmath-support was given.
if test "${enable_libquadmath_support+set}" = set; then :

View File

@ -468,9 +468,6 @@ LIBGFOR_CHECK_WORKING_STAT
# Check whether __mingw_snprintf() is present
LIBGFOR_CHECK_MINGW_SNPRINTF
# Check for a broken powf implementation
LIBGFOR_CHECK_FOR_BROKEN_POWF
# Check whether libquadmath should be used
AC_ARG_ENABLE(libquadmath-support,
AS_HELP_STRING([--disable-libquadmath-support],

View File

@ -518,10 +518,8 @@ nextafterf (float x, float y)
#endif
#if !defined(HAVE_POWF) || defined(HAVE_BROKEN_POWF)
#ifndef HAVE_POWF
#define HAVE_POWF 1
#endif
float powf (float x, float y);
float