aboutsummaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorThomas Koenig <tkoenig@gcc.gnu.org>2017-05-26 17:16:35 +0000
committerThomas Koenig <tkoenig@gcc.gnu.org>2017-05-26 17:16:35 +0000
commit5596d26a5c2df26fc591c8dad0e2bc87ee2f88e2 (patch)
treed7224290d6a142492d8960a5e767929a3d5cd355 /libgfortran
parente1cad93084f9cd5bcdb3f3b0b6214605c8043871 (diff)
downloadgcc-5596d26a5c2df26fc591c8dad0e2bc87ee2f88e2.zip
gcc-5596d26a5c2df26fc591c8dad0e2bc87ee2f88e2.tar.gz
gcc-5596d26a5c2df26fc591c8dad0e2bc87ee2f88e2.tar.bz2
re PR fortran/80889 (Bootstrap broken on all targets due to rev 248472)
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
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog7
-rw-r--r--libgfortran/acinclude.m42
-rwxr-xr-xlibgfortran/configure13
3 files changed, 21 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 3e6c0ad..720b1ce 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -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
diff --git a/libgfortran/acinclude.m4 b/libgfortran/acinclude.m4
index cd8dfab..b501a5e 100644
--- a/libgfortran/acinclude.m4
+++ b/libgfortran/acinclude.m4
@@ -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"
])
diff --git a/libgfortran/configure b/libgfortran/configure
index 36e0155..28f10d5 100755
--- a/libgfortran/configure
+++ b/libgfortran/configure
@@ -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