[Patch, Fortran] PR52335 - allow OPEN(..., DELIM=) with -std=f95

Tobias Burnus burnus@net-b.de
Wed Feb 22 09:55:00 GMT 2012


The following patch fixes a 4.4 to 4.7 regression. Already Fortran 95 
allows DELIM= in OPEN and INQUIRE. Fortran 2003 only added it to data 
transfer statements (i.e. WRITE; not allowed for READ and not possible 
for PRINT). Cf. F95/F2003 standard and the PR.

Build and regtested on x86-64-linux.
OK for the trunk and the 4.4 to 4.6 branches?

Tobias

PS: I am not sure how far I will back port, maybe only to 4.5.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: delim.diff
Type: text/x-patch
Size: 1405 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20120222/14e24556/attachment.bin>


More information about the Fortran mailing list