diff mbox

[libfortran,committed] Restore bootstrap on non-x86* systems

Message ID 6ceac3a4-dc7b-0d61-73b1-b757f033e923@netcologne.de
State New
Headers show

Commit Message

Thomas Koenig May 26, 2017, 5:21 p.m. UTC
Hello world,

I have committed the attached patch as obvious as r248519 after testing
that it does indeed work on powerpc64-unknown-linux-gnu and that
it passes regression-test on that machine.

Sorry for the breakage. I'll use the gcc compile farm machines
in the future to test any such changes.

Regards

	Thomas

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.
diff mbox

Patch

Index: acinclude.m4
===================================================================
--- acinclude.m4	(Revision 248472)
+++ acinclude.m4	(Arbeitskopie)
@@ -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: configure
===================================================================
--- configure	(Revision 248472)
+++ configure	(Arbeitskopie)
@@ -26453,7 +26453,16 @@  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 "${HAV
   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