Commit b5df96c3 by John David Anglin

coarray_41.f90: Add "-latomic" option if libatomic_available.

	* gfortran.dg/coarray_41.f90: Add "-latomic" option if
	libatomic_available.
	* gfortran.dg/coarray_42.f90: Likewise.
	* gfortran.dg/coarray_alloc_comp_3.f08: Likewise.
	* gfortran.dg/coarray_alloc_comp_4.f08: Likewise.
	* gfortran.dg/coarray_lib_alloc_4.f90: Likewise.

From-SVN: r245004
parent faa7e93c
2017-01-28 John David Anglin <danglin@gcc.gnu.org>
* gfortran.dg/coarray_41.f90: Add "-latomic" option if
libatomic_available.
* gfortran.dg/coarray_42.f90: Likewise.
* gfortran.dg/coarray_alloc_comp_3.f08: Likewise.
* gfortran.dg/coarray_alloc_comp_4.f08: Likewise.
* gfortran.dg/coarray_lib_alloc_4.f90: Likewise.
2017-01-27 Martin Sebor <msebor@redhat.com> 2017-01-27 Martin Sebor <msebor@redhat.com>
* gcc.dg/tree-ssa/builtin-sprintf-warn-1.c: Add test cases. * gcc.dg/tree-ssa/builtin-sprintf-warn-1.c: Add test cases.
......
! { dg-do run } ! { dg-do run }
! { dg-options "-fcoarray=lib -lcaf_single" } ! { dg-options "-fcoarray=lib -lcaf_single" }
! { dg-additional-options "-latomic" { target libatomic_available } }
program coarray_41 program coarray_41
......
! { dg-do run } ! { dg-do run }
! { dg-options "-fdump-tree-original -fcoarray=lib -lcaf_single" } ! { dg-options "-fdump-tree-original -fcoarray=lib -lcaf_single" }
! { dg-additional-options "-latomic" { target libatomic_available } }
program Jac program Jac
type Domain type Domain
......
! { dg-do run } ! { dg-do run }
! { dg-options "-fcoarray=lib -lcaf_single" } ! { dg-options "-fcoarray=lib -lcaf_single" }
! { dg-additional-options "-latomic" { target libatomic_available } }
! !
! Contributed by Andre Vehreschild ! Contributed by Andre Vehreschild
! Check that manually freeing components does not lead to a runtime crash, ! Check that manually freeing components does not lead to a runtime crash,
......
! { dg-do compile } ! { dg-do compile }
! { dg-options "-fcoarray=lib -fdump-tree-original" } ! { dg-options "-fcoarray=lib -fdump-tree-original" }
! { dg-additional-options "-latomic" { target libatomic_available } }
! !
! Contributed by Andre Vehreschild ! Contributed by Andre Vehreschild
! Check that sub-components are caf_deregistered and not freed. ! Check that sub-components are caf_deregistered and not freed.
......
! { dg-do run } ! { dg-do run }
! { dg-options "-fcoarray=lib -lcaf_single -fdump-tree-original" } ! { dg-options "-fcoarray=lib -lcaf_single -fdump-tree-original" }
! { dg-additional-options "-latomic" { target libatomic_available } }
! !
! Allocate/deallocate with libcaf. ! Allocate/deallocate with libcaf.
! !
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment