This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/12884] [3.5 Regression w.r.t. g77] error in reading a namelist when it is predeced by a line with a SLASH
- From: "toon at moene dot indiv dot nluug dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Sep 2004 18:34:42 -0000
- Subject: [Bug libfortran/12884] [3.5 Regression w.r.t. g77] error in reading a namelist when it is predeced by a line with a SLASH
- References: <20031103131038.12884.jean-pierre.flament@univ-lille1.fr>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From toon at moene dot indiv dot nluug dot nl 2004-09-09 18:34 -------
Not clear yet why it fails with libgfortran; error message:
At line 13 of file 12884.f
Fortran runtime error: Invalid character in namelist
This is the test case I use:
program nlist
integer ispher,nosym,runflg,noprop
namelist /cntrl/ ispher,nosym,runflg,noprop
ispher = 0
nosym = 0
runflg = 0
noprop = 0
write(1,*)' $FILE'
write(1,*)' pseu dir/file'
write(1,*)' $END'
write(1,*)' $CNTRL ispher=1,nosym=0,runflg=0,noprop=0, $END'
rewind(1)
read(1,cntrl)
write(6,cntrl)
end
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2004-07-06 17:39:25 |2004-09-09 18:34:41
date| |
Summary|[3.5 Regression] [g77] error|[3.5 Regression w.r.t. g77]
|in reading a namelist when |error in reading a namelist
|it is predeced by a line |when it is predeced by a
|with a SLASH |line with a SLASH
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12884