re PR fortran/80889 (Bootstrap broken on all targets due to rev 248472)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 26 May 2017 17:16:35 +0000 (17:16 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Fri, 26 May 2017 17:16:35 +0000 (17:16 +0000)
2017-05-26  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR boostrap/80889
* acinclude.m4: Also set HAVE_AVX128 on the false
branch of LIBGFOR_CHECK_AVX128.
* configure:  Regenerated.

From-SVN: r248519

libgfortran/ChangeLog
libgfortran/acinclude.m4
libgfortran/configure

index 3e6c0ad2a61e0bc51d1835679cf6ce4075ce9f59..720b1ce22657e526712515e0dbd1e7e9697840ee 100644 (file)
@@ -1,3 +1,10 @@
+2017-05-26  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       PR boostrap/80889
+       * acinclude.m4: Also set HAVE_AVX128 on the false
+       branch of LIBGFOR_CHECK_AVX128.
+       * configure:  Regenerated.
+
 2017-05-25  Thomas Koenig  <tkoenig@gcc.gnu.org>
 
        PR libfortran/78379
index cd8dfabffe93a0d995fc28fde3d2858e1616eb56..b501a5e4ef9e229574a3c4933d12152e73a5196a 100644 (file)
@@ -499,6 +499,6 @@ AC_DEFUN([LIBGFOR_CHECK_AVX128], [
        AC_DEFINE(HAVE_AVX128, 1,
        [Define if -mprefer-avx128 is supported.])
        AM_CONDITIONAL([HAVE_AVX128],true),
-       [])
+       [AM_CONDITIONAL([HAVE_AVX128],false)])
   CFLAGS="$ac_save_CFLAGS"
 ])
index 36e015594bac919df8df2cedad6d66d25be179a2..28f10d57474a74a27bb2ae328074ce54a795060c 100755 (executable)
@@ -26453,6 +26453,15 @@ else
   HAVE_AVX128_FALSE=
 fi
 
+else
+   if false; then
+  HAVE_AVX128_TRUE=
+  HAVE_AVX128_FALSE='#'
+else
+  HAVE_AVX128_TRUE='#'
+  HAVE_AVX128_FALSE=
+fi
+
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   CFLAGS="$ac_save_CFLAGS"
@@ -26714,6 +26723,10 @@ if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
   as_fn_error "conditional \"HAVE_AVX128\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
+if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
+  as_fn_error "conditional \"HAVE_AVX128\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
 
 : ${CONFIG_STATUS=./config.status}
 ac_write_fail=0