]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[og9] Enable full GFortran library for AMD GCN
authorJulian Brown <julian@codesourcery.com>
Tue, 23 Jul 2019 17:20:23 +0000 (10:20 -0700)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 3 Mar 2020 11:50:41 +0000 (12:50 +0100)
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.

(cherry picked from openacc-gcc-9-branch commit
1e5027a5c3ded8c47603eb79a8e126fdf085ddfa)

libgfortran/ChangeLog.omp [new file with mode: 0644]
libgfortran/configure
libgfortran/configure.ac

diff --git a/libgfortran/ChangeLog.omp b/libgfortran/ChangeLog.omp
new file mode 100644 (file)
index 0000000..9836164
--- /dev/null
@@ -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.
+
index 487d8c090e2720c4638e5cbc6f77b1c3b9b755f6..8b58cdf1c6aa9f5f6e30a6014f178cfbcde5d026 100755 (executable)
@@ -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
index c06db7b1a78967976765a11893435b7496809bb2..30ff87347603a2d35f4d8c4add874e40bce5541d 100644 (file)
@@ -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