public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/c++-coroutines] Skip plugin-{gcn, hsa} for (-m)x32 (PR bootstrap/93409)
@ 2020-01-30 21:07 Iain D Sandoe
0 siblings, 0 replies; only message in thread
From: Iain D Sandoe @ 2020-01-30 21:07 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:5ab5d81b364ba500b288d9bcc1232ce7953a3b3f
commit 5ab5d81b364ba500b288d9bcc1232ce7953a3b3f
Author: Tobias Burnus <tobias@codesourcery.com>
Date: Thu Jan 30 12:27:17 2020 +0100
Skip plugin-{gcn,hsa} for (-m)x32 (PR bootstrap/93409)
PR bootstrap/93409
* plugin/configfrag.ac (enable_offload_targets): Skip
HSA and GCN plugin besides -m32 also for -mx32.
* configure: Regenerate.
Diff:
---
libgomp/ChangeLog | 7 +++++++
libgomp/configure | 6 +++---
libgomp/plugin/configfrag.ac | 4 ++--
3 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 05f948b..0970724 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,10 @@
+2020-01-29 Tobias Burnus <tobias@codesourcery.com>
+
+ PR bootstrap/93409
+ * plugin/configfrag.ac (enable_offload_targets): Skip
+ HSA and GCN plugin besides -m32 also for -mx32.
+ * configure: Regenerate.
+
2020-01-29 Frederik Harwath <frederik@codesourcery.com>
* oacc-init.c (name_of_acc_device_t): Handle acc_device_radeon.
diff --git a/libgomp/configure b/libgomp/configure
index 06fb40b..b0efd87 100755
--- a/libgomp/configure
+++ b/libgomp/configure
@@ -15018,7 +15018,7 @@ fi
# Plugins for offload execution, configure.ac fragment. -*- mode: autoconf -*-
#
-# Copyright (C) 2014-2019 Free Software Foundation, Inc.
+# Copyright (C) 2014-2020 Free Software Foundation, Inc.
#
# Contributed by Mentor Embedded.
#
@@ -15347,7 +15347,7 @@ rm -f core conftest.err conftest.$ac_objext \
case "${target}" in
x86_64-*-*)
case " ${CC} ${CFLAGS} " in
- *" -m32 "*)
+ *" -m32 "*|*" -mx32 "*)
PLUGIN_HSA=0
;;
*)
@@ -15387,7 +15387,7 @@ rm -f core conftest.err conftest.$ac_objext \
case "${target}" in
x86_64-*-*)
case " ${CC} ${CFLAGS} " in
- *" -m32 "*)
+ *" -m32 "*|*" -mx32 "*)
PLUGIN_GCN=0
;;
*)
diff --git a/libgomp/plugin/configfrag.ac b/libgomp/plugin/configfrag.ac
index 9a424aa..fc91702 100644
--- a/libgomp/plugin/configfrag.ac
+++ b/libgomp/plugin/configfrag.ac
@@ -211,7 +211,7 @@ if test x"$enable_offload_targets" != x; then
case "${target}" in
x86_64-*-*)
case " ${CC} ${CFLAGS} " in
- *" -m32 "*)
+ *" -m32 "*|*" -mx32 "*)
PLUGIN_HSA=0
;;
*)
@@ -251,7 +251,7 @@ if test x"$enable_offload_targets" != x; then
case "${target}" in
x86_64-*-*)
case " ${CC} ${CFLAGS} " in
- *" -m32 "*)
+ *" -m32 "*|*" -mx32 "*)
PLUGIN_GCN=0
;;
*)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-30 21:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-30 21:07 [gcc/devel/c++-coroutines] Skip plugin-{gcn, hsa} for (-m)x32 (PR bootstrap/93409) Iain D Sandoe
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).