From patchwork Sat Mar 9 19:42:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 1053865 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-497620-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=bell.net Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="MvWuSueq"; 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 44Gvss5ywKz9sBp for ; Sun, 10 Mar 2019 06:42:55 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=KLa2+HJ7EurbEopZ 9DOq+XT1BjJ/NEzgl/3YvxzcrwVSLdONO1+5K5Kz4Bzy0LcoM0b9mXL6qEXnAy4G uQNkOEHL7I05RgvYQ/Alq3agP6UZuCpIbfTofSnWyLvk9sUXLvzY3wds1CDdosdT E+bgTGR4ytAiS+M0JGB65lDDG4c= 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:to :from:subject:message-id:date:mime-version:content-type :content-transfer-encoding; s=default; bh=IferByJQuCCSMOO0BIimBA zUolE=; b=MvWuSueqfxZYS8bUyW121uTjXvRdjGsf48e2QQNC8RiKiyu0m/qs3I 6lAeifYx/yXP9GjxAKGFrbUfklXjofSMLjBcvGpCd/ICGiv4V9B+RtBNw48kv/CS h1eT6yk3CFx9WikMMoTPF2NZUlMusT/lEzv89TJlBXib3MKAfz1cc= Received: (qmail 117330 invoked by alias); 9 Mar 2019 19:42:48 -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 117320 invoked by uid 89); 9 Mar 2019 19:42:48 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_PASS, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 spammy=22 X-HELO: mtlfep01.bell.net Received: from belmont79srvr.owm.bell.net (HELO mtlfep01.bell.net) (184.150.200.79) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 09 Mar 2019 19:42:46 +0000 Received: from bell.net mtlfep01 184.150.200.30 by mtlfep01.bell.net with ESMTP id <20190309194245.SBCG4947.mtlfep01.bell.net@mtlspm02.bell.net> for ; Sat, 9 Mar 2019 14:42:45 -0500 Received: from [192.168.2.49] (really [70.53.62.20]) by mtlspm02.bell.net with ESMTP id <20190309194245.YRXC77906.mtlspm02.bell.net@[192.168.2.49]>; Sat, 9 Mar 2019 14:42:45 -0500 To: GCC Patches From: John David Anglin Subject: [committed] Fix failure of gfortran.dg/coarray_data_1.f90 on hppa-hpux Openpgp: preference=signencrypt Message-ID: Date: Sat, 9 Mar 2019 14:42:44 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 X-CM-Analysis: v=2.3 cv=bJBo382Z c=1 sm=1 tr=0 a=O1s9vCNsZHvkjbFmGvGkaA==:117 a=O1s9vCNsZHvkjbFmGvGkaA==:17 a=IkcTkHD0fZMA:10 a=NTGMnVQrEZIA:10 a=FBHGMhGWAAAA:8 a=UzJx0Ni9GSvDDseInR4A:9 a=QEXdDO2ut3YA:10 a=9gvnlMMaQFpL9xblJ6ne:22 X-CM-Envelope: MS4wfO5zOo5RsPozEhG6TetlPM6ofCUFlVckt/b9EwhospDA6UzZ7aEF9T1TMKO6MMaX7NEtM/Z/BEBJrlU2Kv+qgRPxb/u9sle7kkVtXPlxjeTf0W2UaovY Sd8gPK27fFO1jEHOgCRZrbZr8SgBpg6Sn6IDN05KnisOOmH08XVHCqutr9Q4/NteTHlPhnshWySGVw== Due to the lack of builtin atomics, we need to link against libatomic. Committed to trunk. Dave Index: gfortran.dg/coarray_data_1.f90 =================================================================== --- gfortran.dg/coarray_data_1.f90 (revision 269531) +++ gfortran.dg/coarray_data_1.f90 (working copy) @@ -1,5 +1,6 @@ ! { dg-do run } ! { dg-options "-fcoarray=lib -lcaf_single " } +! { dg-additional-options "-latomic" { target libatomic_available } } ! PR 71066 - this used to ICE program p real :: a(2,2)[*]