This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gfortran] gfortran.dg/dev_null.f90
- From: FX <fxcoudert at gmail dot com>
- To: fortran at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Fri, 27 May 2005 10:56:36 +0200
- Subject: [gfortran] gfortran.dg/dev_null.f90
- Reply-to: FX <fxcoudert at gmail dot com>
Testcase gfortran.dg/dev_null.f90 relies on a semantic for /dev/null
that is not correct for all Unices: it fails on all non-POSIX
complying /dev/null (all BSD, including darwin, and hpux).
However, on the OS where a POSIX behavior is expected (linux and
solaris, from what I've seen so far), this is a useful test.
I propose to add a target restriction to this test, so that it is run
only on *-*-linux and *-*-solaris*. Are you OK with that (for both
mainline and 4.0)? Any idea about others targets to add to the list?
FX