+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
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=
/* 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
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 :
# 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],
#endif
-#if !defined(HAVE_POWF) || defined(HAVE_BROKEN_POWF)
#ifndef HAVE_POWF
#define HAVE_POWF 1
-#endif
float powf (float x, float y);
float