public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/12884] New: error in reading a namelist when it is predeced by a line with a SLASH
@ 2003-11-03 13:10 jean-pierre dot flament at univ-lille1 dot fr
  2003-11-03 13:12 ` [Bug fortran/12884] " jean-pierre dot flament at univ-lille1 dot fr
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: jean-pierre dot flament at univ-lille1 dot fr @ 2003-11-03 13:10 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: error in reading a namelist when it is predeced by a
                    line with a SLASH
           Product: gcc
           Version: 3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: toon at moene dot indiv dot nluug dot nl
        ReportedBy: jean-pierre dot flament at univ-lille1 dot fr
                CC: gcc-bugs at gcc dot gnu dot org

in the follwing flow of data ($FILE is not a namelist)
 $FILE
   pseu  dir/file
 $END
 $CNTRL ispher=1,nosym=0,runflg=0,noprop=0, $END

the namelist $CNTRL is not read

 integer ispher,nosym,runflg,noprop
 ispher = 0
 nosym = 0
 runflg = 0
 noprop = 0 
 read(5,cntrl) 

 * gives a value of 0 instead of 1 for ispher

 * putting $CNTRL before the "group data" $FILE gives the correct result
   as well as inserting any line between the $END of $FILE and $CNTRL)
I guess that the / in dir/file is the reason of the problem.

I can provide you with a sample program and data reproducing the bug.


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2005-06-05 23:35 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-03 13:10 [Bug fortran/12884] New: error in reading a namelist when it is predeced by a line with a SLASH jean-pierre dot flament at univ-lille1 dot fr
2003-11-03 13:12 ` [Bug fortran/12884] " jean-pierre dot flament at univ-lille1 dot fr
2003-11-15 12:41 ` [Bug libf2c/12884] " toon at moene dot indiv dot nluug dot nl
2003-12-28  2:41 ` bdavis9659 at comcast dot net
2004-01-31 14:11 ` cvs-commit at gcc dot gnu dot org
2004-01-31 14:15 ` cvs-commit at gcc dot gnu dot org
2004-01-31 14:20 ` toon at moene dot indiv dot nluug dot nl
2004-01-31 16:04 ` andreas dot meier_ at gmx dot de
2004-01-31 18:19 ` pinskia at gcc dot gnu dot org
2004-01-31 18:20 ` [Bug libf2c/12884] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-07-06 17:39 ` [Bug libfortran/12884] [3.5 Regression] [g77] " pinskia at gcc dot gnu dot org
2004-09-09 18:34 ` [Bug libfortran/12884] [3.5 Regression w.r.t. g77] " toon at moene dot indiv dot nluug dot nl
2004-09-24  4:09 ` [Bug libfortran/12884] [4.0.0 " pinskia at gcc dot gnu dot org
2005-01-06 14:40 ` [Bug libfortran/12884] [Regression " tobi at gcc dot gnu dot org
2005-01-31  6:56 ` pinskia at gcc dot gnu dot org
2005-04-18  7:44 ` [Bug libfortran/12884] [4.0] " fxcoudert at gcc dot gnu dot org
2005-04-18 14:41 ` pinskia at gcc dot gnu dot org
2005-04-23 16:11 ` [Bug libfortran/12884] [4.0 only] " pault at gcc dot gnu dot org
2005-06-05 23:35 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).