+2016-11-19 John David Anglin <danglin@gcc.gnu.org>
+
+ * gfortran.dg/coarray_alloc_comp_1.f08: Add "-latomic" option if
+ libatomic_available.
+ * gfortran.dg/coarray_alloc_comp_2.f08: Likewise.
+ * gfortran.dg/coarray_allocate_10.f08: Likewise.
+ * gfortran.dg/coarray_allocate_7.f08: Likewise.
+ * gfortran.dg/coarray_allocate_8.f08: Likewise.
+ * gfortran.dg/coarray_allocate_9.f08: Likewise.
+ * gfortran.dg/coarray_send_by_ref_1.f08: Likewise.
+ * gfortran.dg/coarray_stat_2.f90: Likewise.
+ * gfortran.dg/coindexed_1.f90: Likewise.
+
2016-11-18 Jeff Law <law@redhat.com>
PR target/25111
! { dg-do run }
! { dg-options "-fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
! Contributed by Damian Rouson
! Check the new _caf_get_by_ref()-routine.
! { dg-do run }
! { dg-options "-fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
! Contributed by Damian Rouson
! Check the new _caf_send_by_ref()-routine.
! { dg-do run }
! { dg-options "-fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
program alloc_comp
implicit none
! { dg-do run }
! { dg-options "-fcoarray=lib -lcaf_single -fdump-tree-original" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
! Contributed by Damian Rouson
! Checking whether (de-)registering of coarrays works.
! { dg-do run }
! { dg-options "-fcoarray=lib -lcaf_single -fdump-tree-original" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
program alloc_comp
implicit none
! { dg-do run }
! { dg-options "-fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
! Contributed by Damian Rouson
! { dg-do run }
! { dg-options "-fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
program check_caf_send_by_ref
! { dg-do run }
! { dg-options "-fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
!
! Support for stat= in caf reference
!
! { dg-do run }
! { dg-options "-fcoarray=lib -lcaf_single" }
+! { dg-additional-options "-latomic" { target libatomic_available } }
!
! Contributed by Reinhold Bader
!