From patchwork Fri Aug 2 20:11:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julian Brown X-Patchwork-Id: 1141376 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-506139-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="IH+6Hbsf"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 460dcm3p55z9s00 for ; Sat, 3 Aug 2019 06:12:40 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; q=dns; s= default; b=TT1Xdk/Bdi1jLPC+iYAbPmRzykn4G0gqtU/mDcq+m+jAUeeC6HPR0 H+mOAHCDtP4H21nzDyXg9cpZjxVbl4q9F3j2OSXcATDlMwaSOAwo64xDdNVVcMIM 42kCvKU72lf06l1vmrQ9gRStC7NbeHKh85eKYVSzPB/+oMakVIZMp8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=default; bh=hV2xvmDnmivDW+RNqmpVwxwzGY8=; b=IH+6HbsfGPqV+qMj3F2/244ENLoZ ETAPMVq5EayJK+qTxyLqV3y6qdERwk7XIM0tjl2frs3sQiTm22CHGsU4mCn7ZppP sQHwnjwFs17GwUYEr/m8X1AShgdp1bipJDm0AGlW893aus0iVg8FZaN7cGuS3dNZ a2EODUAgs7nXT/4= Received: (qmail 130864 invoked by alias); 2 Aug 2019 20:11:49 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 130818 invoked by uid 89); 2 Aug 2019 20:11:49 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.2 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 02 Aug 2019 20:11:47 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-04.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1htdty-00018o-CF from Julian_Brown@mentor.com ; Fri, 02 Aug 2019 13:11:46 -0700 Received: from build5-trusty-cs.sje.mentorg.com (147.34.91.1) by SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Fri, 2 Aug 2019 21:11:42 +0100 From: Julian Brown To: CC: Andrew Stubbs , Jakub Jelinek Subject: [PATCH 4/8] [og9] Enable full GFortran library for AMD GCN Date: Fri, 2 Aug 2019 13:11:22 -0700 Message-ID: <1e5027a5c3ded8c47603eb79a8e126fdf085ddfa.1564776080.git.julian@codesourcery.com> In-Reply-To: References: MIME-Version: 1.0 X-IsSubscribed: yes 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 Andrew Stubbs 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 + Andrew Stubbs + + 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