From patchwork Fri Jun 7 14:40:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Stubbs X-Patchwork-Id: 1111909 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-502577-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="xLFuR6Du"; 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 45L4wB6s3kz9sNR for ; Sat, 8 Jun 2019 00:41:13 +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 :subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type; q=dns; s=default; b=cV5Hpa2nFG32EAt4V WGw52qtzkWVTSNu9hm6D5LHoeF6c0+UddnvkpCToyNKQU627RePjnSloTuLJSRiz K4JXDflbdojAhxW5viM/CH0Si2c87kCSASdgXcAeinhFToh7kW1jeNBqfnn9OV+S XEhvu/s377Kncg95N/xnyEKrL4= 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 :subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type; s=default; bh=vyWNNCJqzlmNt97gsHlA0cp +qGg=; b=xLFuR6DuxpeEy0oMPdHRSOux6/p2/0rx4nHWovnaT1k8y6AlB8DSum2 LrDrZn7V4nF6uFf/NyDB42lLIqbo7BK1ebV7cTDoKZ809mMo+Hz1gxqQmBKuKUF/ geJ37Dw3wI8TjWmOQRcY16OWwqFgd6PihpsKkVP+laW6qpBSUrYo= Received: (qmail 60542 invoked by alias); 7 Jun 2019 14:41:07 -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 60528 invoked by uid 89); 7 Jun 2019 14:41:06 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-17.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1540 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, 07 Jun 2019 14:41:05 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=svr-ies-mbx-01.mgc.mentorg.com) by relay1.mentorg.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) id 1hZG3D-0004av-7d from Andrew_Stubbs@mentor.com ; Fri, 07 Jun 2019 07:41:03 -0700 Received: from [127.0.0.1] (137.202.0.90) by svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Fri, 7 Jun 2019 15:40:59 +0100 Subject: [PATCH 3/3] Enable full libgfortran library for AMD GCN To: "gcc-patches@gcc.gnu.org" , Fortran List References: From: Andrew Stubbs Message-ID: Date: Fri, 7 Jun 2019 15:40:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: This patch basically reverts the previous patch to put AMD GCN in "minimal" mode. OK to commit? Enable full GFortran library for AMD GCN 2019-06-07 Kwok Cheung Yeung Andrew Stubbs 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