diff options
author | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-19 14:01:40 +0000 |
---|---|---|
committer | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-02-19 14:01:40 +0000 |
commit | b9153b52115c9ec63a97b027c379946ee3900f46 (patch) | |
tree | 06812d53daeb1952877d7d0700b54da3b42cee2d /libgfortran | |
parent | 09a6d85b36c859ddebeb7cb427e28004e2f5e5c2 (diff) | |
download | gcc-b9153b52115c9ec63a97b027c379946ee3900f46.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196139 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r-- | libgfortran/ChangeLog | 10 | ||||
-rw-r--r-- | libgfortran/acinclude.m4 | 12 | ||||
-rw-r--r-- | libgfortran/config.h.in | 3 | ||||
-rwxr-xr-x | libgfortran/configure | 22 | ||||
-rw-r--r-- | libgfortran/configure.ac | 3 | ||||
-rw-r--r-- | libgfortran/intrinsics/c99_functions.c | 2 |
6 files changed, 10 insertions, 42 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 1a42a8449a9..39606c8f13a 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -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 diff --git a/libgfortran/acinclude.m4 b/libgfortran/acinclude.m4 index d10126150ea..35698ec00f6 100644 --- a/libgfortran/acinclude.m4 +++ b/libgfortran/acinclude.m4 @@ -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= diff --git a/libgfortran/config.h.in b/libgfortran/config.h.in index ee4c14f52c3..fb5026fc0da 100644 --- a/libgfortran/config.h.in +++ b/libgfortran/config.h.in @@ -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 diff --git a/libgfortran/configure b/libgfortran/configure index 5ad56aa29b7..8385e968458 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -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 : diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac index 86cb330fee3..7d97fed1b0b 100644 --- a/libgfortran/configure.ac +++ b/libgfortran/configure.ac @@ -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], diff --git a/libgfortran/intrinsics/c99_functions.c b/libgfortran/intrinsics/c99_functions.c index f6acf2d1d0f..ee74b115ea7 100644 --- a/libgfortran/intrinsics/c99_functions.c +++ b/libgfortran/intrinsics/c99_functions.c @@ -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 |