re PR fortran/21432 (gfortran does not support printing of namelists)

2005-08-14 Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/21432.
	* gfortran.texi: Document PRINT namelist.

From-SVN: r103085
This commit is contained in:
Paul Thomas 2005-08-14 21:43:12 +00:00
parent 22f99b8212
commit 21d7d31f71
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-08-14 Paul Thomas <pault@gcc.gnu.org>
PR fortran/21432.
* gfortran.texi: Document PRINT namelist.
2005-08-14 Paul Thomas <pault@gcc.gnu.org>
PR fortran/21432.

View File

@ -729,6 +729,15 @@ had been called:
To aid this dialog, when input is from stdin, errors send their
messages to stderr and execution continues, even if IOSTAT is set.
PRINT namelist is permitted. This causes an error if -std=f95 is used.
@smallexample
PROGRAM test_print
REAL, dimension (4) :: x = (/1.0, 2.0, 3.0, 4.0/)
NAMELIST /mynml/ x
PRINT mynml
END PROGRAM test_print
@end smallexample
@node X format descriptor
@section X format descriptor
@cindex X format descriptor