public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch, libfortran, committed] Restore bootstrap on non-x86* systems
@ 2017-05-26 17:24 Thomas Koenig
  0 siblings, 0 replies; only message in thread
From: Thomas Koenig @ 2017-05-26 17:24 UTC (permalink / raw)
  To: fortran, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 498 bytes --]

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.

[-- Attachment #2: p-fix.diff --]
[-- Type: text/x-patch, Size: 1318 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-26 17:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-26 17:24 [patch, libfortran, committed] Restore bootstrap on non-x86* systems Thomas Koenig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).