pr68078.f90: Run on x86_64_*_linux* only.

2016-09-21  Louis Krupp  <louis.krupp@zoho.com>

	* gfortran.dg/pr68078.f90: Run on x86_64_*_linux* only.

From-SVN: r240304
This commit is contained in:
Louis Krupp 2016-09-21 08:30:51 +00:00 committed by Louis Krupp
parent 6811ea7976
commit c075003a1f
2 changed files with 14 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2016-09-21 Louis Krupp <louis.krupp@zoho.com>
* gfortran.dg/pr68078.f90: Run on x86_64_*_linux* only.
2016-09-21 Richard Biener <rguenther@suse.de>
PR tree-optimization/77648

View file

@ -1,6 +1,14 @@
! { dg-do run }
! { dg-xfail-run-if "malloc issuing error messages" { *-*-darwin* } }
! { dg-do run { target x86_64-*-linux* } }
! { dg-additional-sources set_vm_limit.c }
!
! This test calls set_vm_limit to set an artificially low address space
! limit. set_vm_limit calls setrlimit, which has some portability
! considerations. setrlimit gets errors on arm*linux and aarch64*linux,
! and when the main program calls malloc(), it in turn fails on Darwin.
! The code being tested is portable, calling ALLOCATED() or ASSOCIATED()
! to verify that allocation was successful, so the operating assumption
! is that as long as this test runs on at least one system, we can call
! it good.
USE :: ISO_C_BINDING !, only: C_INT
IMPLICIT NONE