From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76202 invoked by alias); 15 Mar 2016 23:38:59 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 76191 invoked by uid 89); 15 Mar 2016 23:38:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.3.2 spammy=Hx-languages-length:936, H*c:sk:Apple-M, needing X-HELO: mtlfep02.bell.net Received: from belmont80srvr.owm.bell.net (HELO mtlfep02.bell.net) (184.150.200.80) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 15 Mar 2016 23:38:49 +0000 Received: from bell.net mtlfep02 184.150.200.30 by mtlfep02.bell.net with ESMTP id <20160315233846.CSXQ28320.mtlfep02.bell.net@mtlspm01.bell.net> for ; Tue, 15 Mar 2016 19:38:46 -0400 Received: from [192.168.2.10] (really [184.144.122.130]) by mtlspm01.bell.net with ESMTP id <20160315233846.SZBK25255.mtlspm01.bell.net@[192.168.2.10]>; Tue, 15 Mar 2016 19:38:46 -0400 From: John David Anglin Content-Type: multipart/mixed; boundary=Apple-Mail-4-889072918 Date: Tue, 15 Mar 2016 23:38:00 -0000 Subject: [committed] Fix gfortran.dg/coarray_allocate_5.f08 on targets needing to link with libatomic To: GCC Patches Message-Id: Mime-Version: 1.0 (Apple Message framework v1085) X-Opwv-CommTouchExtSvcRefID: str=0001.0A020204.56E89D06.00F9,ss=1,re=0.000,fgs=0 X-SW-Source: 2016-03/txt/msg00866.txt.bz2 --Apple-Mail-4-889072918 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Content-length: 191 This patch fixes failure of coarray_allocate_5.f08 on hppa. Tested on hppa= 2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. Committed to trunk. Dave -- John David Anglin dave.anglin@bell.net --Apple-Mail-4-889072918 Content-Disposition: attachment; filename=coarray_allocate_5.f08.d.txt Content-Type: text/plain; name="coarray_allocate_5.f08.d.txt" Content-Transfer-Encoding: 7bit Content-length: 667 2016-03-15 John David Anglin PR libfortran/69799 * gfortran.dg/coarray_allocate_5.f08: Add "-latomic" option if libatomic_available. Index: gfortran.dg/coarray_allocate_5.f08 =================================================================== --- gfortran.dg/coarray_allocate_5.f08 (revision 234163) +++ gfortran.dg/coarray_allocate_5.f08 (working copy) @@ -1,5 +1,6 @@ ! { dg-do run } ! { dg-options "-fcoarray=lib -lcaf_single -fdump-tree-original" } +! { dg-additional-options "-latomic" { target libatomic_available } } ! ! Contributed by Ian Harvey ! Extended by Andre Vehreschild --Apple-Mail-4-889072918--