[gfortran] Add ACCESS="APPEND" to OPEN statement

François-Xavier Coudert fxcoudert@gmail.com
Wed Nov 16 17:26:00 GMT 2005


Attached patch fixes PR libfortran/24892: g77 allows the ACCESS
keywork of the OPEN statement to have value "APPEND", which is the
same as POSITION="APPEND". The patch adds this possibility for
compatibility reasons, warning if the code was compiled with
-pedantic, and refusing the cases of conflicting ACCESS and POSITION
keywords.

Tested on ppc-darwin, regtesting still going on.

OK for mainline? OK for 4.0?

:ADDPATCH fortran:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: append.diff
Type: application/octet-stream
Size: 1378 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20051116/66920f95/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: append.ChangeLog
Type: application/octet-stream
Size: 258 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20051116/66920f95/attachment-0001.obj>


More information about the Fortran mailing list