]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/56347 (FAIL: gfortran.dg/integer_exponentiation_2.f90 -O2 execution...
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Tue, 19 Feb 2013 14:01:40 +0000 (14:01 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Tue, 19 Feb 2013 14:01:40 +0000 (14:01 +0000)
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

libgfortran/ChangeLog
libgfortran/acinclude.m4
libgfortran/config.h.in
libgfortran/configure
libgfortran/configure.ac
libgfortran/intrinsics/c99_functions.c

index 1a42a8449a9375d04c49ee18b35c207f3424c346..39606c8f13a61102241467c965d2d9f159e46c7f 100644 (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
index d10126150eab6418fb6ffbc6e2eb0219bacab742..35698ec00f6e25d5813638f0f013ee3178c8a3f9 100644 (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=
index ee4c14f52c312b04c56590d503d7b37496754f29..fb5026fc0da37b334728d9e21eebf12d593e188c 100644 (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
 
index 5ad56aa29b75bd9937b28bd81ac5db8975eba37b..8385e9684581f9e9a2d513f8e5d283b14e9ddb48 100755 (executable)
@@ -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 :
index 86cb330fee3f53b70e9d1183d63b6a2579aa82a3..7d97fed1b0bdf80a6cd95f121bedba62549449b3 100644 (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],
index f6acf2d1d0f8c1d181691e435630607306d2f4f5..ee74b115ea7e33a8d87d5bfc1be28ed3712cb926 100644 (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