This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]