public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] Fix new coarray test fails on hppa
@ 2017-03-26 15:24 John David Anglin
  2017-03-26 15:38 ` Jerry DeLisle
  0 siblings, 1 reply; 2+ messages in thread
From: John David Anglin @ 2017-03-26 15:24 UTC (permalink / raw)
  To: GCC Patches; +Cc: fortran

[-- Attachment #1: Type: text/plain, Size: 137 bytes --]

This patch fixes some new coarray testsuite fails on hppa.  Committed to trunk.

Dave
--
John David Anglin	dave.anglin@bell.net



[-- Attachment #2: coarray-atomic.d.txt --]
[-- Type: text/plain, Size: 1659 bytes --]

2017-03-26  John David Anglin  <danglin@gcc.gnu.org>

	* gfortran.dg/coarray_failed_images_1.f08: Add "-latomic" option if
	libatomic_available.
	* gfortran.dg/coarray_image_status_1.f08: Likewise.
	* gfortran.dg/coarray_stopped_images_1.f08: Likewise.

Index: gfortran.dg/coarray_failed_images_1.f08
===================================================================
--- gfortran.dg/coarray_failed_images_1.f08	(revision 246268)
+++ gfortran.dg/coarray_failed_images_1.f08	(working copy)
@@ -1,5 +1,6 @@
 ! { dg-do run }
 ! { dg-options "-fdump-tree-original -fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
 
 program test_failed_images_1
   implicit none
Index: gfortran.dg/coarray_image_status_1.f08
===================================================================
--- gfortran.dg/coarray_image_status_1.f08	(revision 246268)
+++ gfortran.dg/coarray_image_status_1.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 } }
 
 program test_image_status_1
   use iso_fortran_env , only : STAT_STOPPED_IMAGE
Index: gfortran.dg/coarray_stopped_images_1.f08
===================================================================
--- gfortran.dg/coarray_stopped_images_1.f08	(revision 246268)
+++ gfortran.dg/coarray_stopped_images_1.f08	(working copy)
@@ -1,5 +1,6 @@
 ! { dg-do run }
 ! { dg-options "-fdump-tree-original -fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
 
 program test_stopped_images_1
   implicit none

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [committed] Fix new coarray test fails on hppa
  2017-03-26 15:24 [committed] Fix new coarray test fails on hppa John David Anglin
@ 2017-03-26 15:38 ` Jerry DeLisle
  0 siblings, 0 replies; 2+ messages in thread
From: Jerry DeLisle @ 2017-03-26 15:38 UTC (permalink / raw)
  To: fortran

On 03/26/2017 08:24 AM, John David Anglin wrote:
> This patch fixes some new coarray testsuite fails on hppa.  Committed to trunk.
> 
> Dave
> --
> John David Anglin	dave.anglin@bell.net
> 
> 

Thanks John,

Jerry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-26 15:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-26 15:24 [committed] Fix new coarray test fails on hppa John David Anglin
2017-03-26 15:38 ` Jerry DeLisle

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).