aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Brown <julian@codesourcery.com>2019-07-23 10:20:23 -0700
committerThomas Schwinge <thomas@codesourcery.com>2020-03-03 12:50:41 +0100
commitc8194365dd8de590891efc1bbc6771426e52bbdd (patch)
treea0795686d3957744c97b724a5b2a520a9084a2c6
parent262b34710278110732937ccc974cf2824b9b2f68 (diff)
downloadgcc-c8194365dd8de590891efc1bbc6771426e52bbdd.zip
gcc-c8194365dd8de590891efc1bbc6771426e52bbdd.tar.gz
gcc-c8194365dd8de590891efc1bbc6771426e52bbdd.tar.bz2
[og9] Enable full GFortran library for AMD GCN
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)
-rw-r--r--libgfortran/ChangeLog.omp9
-rwxr-xr-xlibgfortran/configure3
-rw-r--r--libgfortran/configure.ac3
3 files changed, 11 insertions, 4 deletions
diff --git a/libgfortran/ChangeLog.omp b/libgfortran/ChangeLog.omp
new file mode 100644
index 0000000..9836164
--- /dev/null
+++ b/libgfortran/ChangeLog.omp
@@ -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 487d8c0..8b58cdf 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 c06db7b..30ff873 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