Regression with dev_null.f90

Andrew Pinski pinskia@physics.uc.edu
Sat May 21 19:39:00 GMT 2005


On May 21, 2005, at 3:30 PM, Steve Kargl wrote:
> gfortran behavior appears to depend on the POSIX definition of
> /dev/null.  From http://www.opengroup.org/onlinepubs/009695399/toc.htm
>
>    /dev/null -- An infinite data source and data sink.  Data written
>    to /dev/null shall be discarded.  Reads from /dev/null shall always
>    return end-of-file (EOF).
>
> This program prints
>
> i = 5
> j = 1

This is also what happens on powerpc-darwin so I don't think that
is the problem.

Thanks,
Andrew Pinski



More information about the Fortran mailing list