This patch basically reverts the previous patch to put AMD GCN in "minimal" mode.

OK to commit?

--
Andrew Stubbs
Mentor Graphics / CodeSourcery
Enable full GFortran library for AMD GCN

2019-06-07  Kwok Cheung Yeung  <k...@codesourcery.com>
            Andrew Stubbs  <a...@codesourcery.com>

	libgfortran/
	* configure: Regenerate.
	* configure.ac (LIBGFOR_MINIMAL): Do not use on AMD GCN.

diff --git a/libgfortran/configure b/libgfortran/configure
index 60867b93d0e..15c9307f9d5 100755
--- a/libgfortran/configure
+++ b/libgfortran/configure
@@ -6179,8 +6179,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 7cfce28ab69..8dcc8606bd4 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

Reply via email to