]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libfortran/24892 (ACCESS argument to the OPEN statement)
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>
Thu, 17 Nov 2005 12:46:57 +0000 (13:46 +0100)
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Thu, 17 Nov 2005 12:46:57 +0000 (12:46 +0000)
commit1c2e7a3ab332ecb47b606ce2400672eb6065e45f
treeb4222529fc4abf9ab78757cfd41d5b3ec666c05d
parent0bc52d42a8a8c376f9d13a9ea1d5739b6dc3a195
re PR libfortran/24892 (ACCESS argument to the OPEN statement)

PR fortran/24892
* io/io.h (unit_access): Add ACCESS_APPEND.
* io/open.c (access_opt): Add APPEND value for ACCESS keyword.
(st_open): Use that new value to set the POSITION accordingly.

* gfortran.dg/open_access_append_1.f90: New test.
* gfortran.dg/open_access_append_2.f90: New test.

From-SVN: r107119
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/open_access_append_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/open_access_append_2.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/io/io.h
libgfortran/io/open.c