diff options
author | Louis Krupp <louis.krupp@zoho.com> | 2016-09-21 08:30:51 +0000 |
---|---|---|
committer | Louis Krupp <lkrupp@gcc.gnu.org> | 2016-09-21 08:30:51 +0000 |
commit | c075003a1fc901d487c4cca0b10847d8fc1135fb (patch) | |
tree | 3bb531a8442d674d3e772b9ea2bdfd7805fb94cf /gcc | |
parent | 6811ea797651caab6df9cf6ce4237ca4eaf1399e (diff) | |
download | gcc-c075003a1fc901d487c4cca0b10847d8fc1135fb.zip gcc-c075003a1fc901d487c4cca0b10847d8fc1135fb.tar.gz gcc-c075003a1fc901d487c4cca0b10847d8fc1135fb.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gfortran.dg/pr68078.f90 | 12 |
2 files changed, 14 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1444019..adc6422 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/gfortran.dg/pr68078.f90 b/gcc/testsuite/gfortran.dg/pr68078.f90 index 4923ddd..092ab29 100644 --- a/gcc/testsuite/gfortran.dg/pr68078.f90 +++ b/gcc/testsuite/gfortran.dg/pr68078.f90 @@ -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 |