This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/18879] ? not supported in namelist input
- From: "paulthomas2 at wanadoo dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Mar 2005 17:59:47 -0000
- Subject: [Bug libfortran/18879] ? not supported in namelist input
- References: <20041207213320.18879.Thomas.Koenig@online.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From paulthomas2 at wanadoo dot fr 2005-03-13 17:59 -------
(In reply to comment #2)
This is indeed and extension.
See http://h18009.www1.hp.com/fortran/docs/lrm/lrm0372.htm#nm_in for the
Digital/Compaq/HP specification
> (In reply to comment #1)
> > Is this a language extension? Seems likely, as the standard has no concept
of
> > stdin and stdout. Could you point to someplace where this extension is
specified?
> It's in the comments to io.h (line 76 ff):
> Even more complex, during the execution of a program containing a
> namelist READ statement, you can specify a question mark character(?)
> or a question mark character preceded by an equal sign(=?) to get
> the information of the namelist group. By '?', the name of variables
> in the namelist will be displayed, by '=?', the name and value of
> Also, check out http://h18009.www1.hp.com/fortran/docs/lrm/lrm0372.htm .
> It's specified in green, which I suppose means that it is an extension.
> Googling for "namelist fortran question mark" will lead to other
> examples.
> Offhand, I can't find a UNIX compiler that doesn't support it. g77 also
> tries, but the support there is buggy (see PR 18874).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18879