From: John David Anglin <dave.anglin@bell.net>
To: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: [committed] Fix gfortran.dg/coarray_allocate_5.f08 on targets needing to link with libatomic
Date: Tue, 15 Mar 2016 23:38:00 -0000 [thread overview]
Message-ID: <F566FA07-06A3-428C-895F-E9F77799CAB0@bell.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 197 bytes --]
This patch fixes failure of coarray_allocate_5.f08 on hppa. Tested on hppa2.0w-hp-hpux11.11 and
hppa64-hp-hpux11.11. Committed to trunk.
Dave
--
John David Anglin dave.anglin@bell.net
[-- Attachment #2: coarray_allocate_5.f08.d.txt --]
[-- Type: text/plain, Size: 667 bytes --]
2016-03-15 John David Anglin <danglin@gcc.gnu.org>
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 <ian_harvey@bigpond.com>
! Extended by Andre Vehreschild <vehre@gcc.gnu.org>
reply other threads:[~2016-03-15 23:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F566FA07-06A3-428C-895F-E9F77799CAB0@bell.net \
--to=dave.anglin@bell.net \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).