[patch,fortran] Allow namelist with internal file (PR 28224)

Tobias Burnus burnus@net-b.de
Thu Oct 26 11:53:00 GMT 2006


:ADDPATCH fortran:

Hello,

This patch implements read/write of namelists from/to internal
files, which is allowed in Fortran 2003 but not in Fortran 95.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28224

Bootstrapped and regression tested on x86_64-unknown-linux-gnu (4.3.0
20061026).

Tobias



2006-10-26  Tobias Burnus  <burnus@net-b.de>

	PR fortran/28224
	* io.c (check_io_constraints): Allow namelists
          for internal files for Fortran 2003.

2006-10-26  Tobias Burnus  <burnus@net-b.de>

	PR fortran/PR28224
	* gfortran.dg/io_constraints_2.f90: Remove check for
          using namelists with internal files.
	* gfortran.dg/namelist_internal.f90: New namelist test.
	* gfortran.dg/namelist_internal2.f90: New namelist test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: namelist-internal-file.diff
Type: text/x-patch
Size: 3684 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20061026/a01878f9/attachment.bin>


More information about the Fortran mailing list