This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 4/8] [og9] Enable full GFortran library for AMD GCN


This is a backport to the og9 branch of the patch posted for mainline here:

https://gcc.gnu.org/ml/gcc-patches/2019-06/msg00444.html

2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
	    Andrew Stubbs  <ams@codesourcery.com>

	Backport from mainline:

	libgfortran/
	* configure: Regenerate.
	* configure.ac (LIBGFOR_MINIMAL): Do not use on AMD GCN.
---
 libgfortran/ChangeLog.openacc | 9 +++++++++
 libgfortran/configure         | 3 +--
 libgfortran/configure.ac      | 3 +--
 3 files changed, 11 insertions(+), 4 deletions(-)
 create mode 100644 libgfortran/ChangeLog.openacc

diff --git a/libgfortran/ChangeLog.openacc b/libgfortran/ChangeLog.openacc
new file mode 100644
index 00000000000..98361640e8d
--- /dev/null
+++ b/libgfortran/ChangeLog.openacc
@@ -0,0 +1,9 @@
+2019-06-25  Kwok Cheung Yeung  <kcy@codesourcery.com>
+	    Andrew Stubbs  <ams@codesourcery.com>
+
+	Backport from mainline:
+
+	libgfortran/
+	* configure: Regenerate.
+	* configure.ac (LIBGFOR_MINIMAL): Do not use on AMD GCN.
+
diff --git a/libgfortran/configure b/libgfortran/configure
index 487d8c090e2..8b58cdf1c6a 100755
--- a/libgfortran/configure
+++ b/libgfortran/configure
@@ -6164,8 +6164,7 @@ fi
 # * C library support for other features such as signal, environment
 #   variables, time functions
 
- if test "x${target_cpu}" = xnvptx \
-				 || test "x${target_cpu}" = xamdgcn; then
+ if test "x${target_cpu}" = xnvptx; then
   LIBGFOR_MINIMAL_TRUE=
   LIBGFOR_MINIMAL_FALSE='#'
 else
diff --git a/libgfortran/configure.ac b/libgfortran/configure.ac
index c06db7b1a78..30ff8734760 100644
--- a/libgfortran/configure.ac
+++ b/libgfortran/configure.ac
@@ -205,8 +205,7 @@ AM_CONDITIONAL(LIBGFOR_USE_SYMVER_SUN, [test "x$gfortran_use_symver" = xsun])
 # * C library support for other features such as signal, environment
 #   variables, time functions
 
-AM_CONDITIONAL(LIBGFOR_MINIMAL, [test "x${target_cpu}" = xnvptx \
-				 || test "x${target_cpu}" = xamdgcn])
+AM_CONDITIONAL(LIBGFOR_MINIMAL, [test "x${target_cpu}" = xnvptx])
 
 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
 # similarly to how libstdc++ does it
-- 
2.22.0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]