public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/13739] New: Run-time error: "Internal error" on correct input to READ with NAMELIST
@ 2004-01-19 13:51 lei at il dot ibm dot com
  2004-01-19 13:54 ` [Bug libfortran/13739] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: lei at il dot ibm dot com @ 2004-01-19 13:51 UTC (permalink / raw)
  To: gcc-bugs

Version: tree-ssa-20040112.tar

The following program namelist_bug.f90:

      NAMELIST /GALGELINPUT/ A,B,C
      READ (5,NML=GALGELINPUT)
      WRITE (6, NML=GALGELINPUT)
      END

Compiles okay, but when run with 
the input &GALGELINPUT A = 1., B = 2., C = 3./
reports Internal error:

% gfortran -ffixed-form --static namelist_bug.f90
% a.out
&GALGELINPUT A = 1., B = 2., C = 3./
At line 2 of file namelist_bug.f90
Internal Error: Can not found a valid namelist var!

Same program, when compiled with g77, produces the
correct output:

% g77 namelist_bug.f
% a.out
&GALGELINPUT A = 1., B = 2., C = 3./
&GALGELINPUT 
 A =  1., 
 B =  2., 
 C =  3./

-- 
           Summary: Run-time error: "Internal error" on correct input to
                    READ with NAMELIST
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libfortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lei at il dot ibm dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug libfortran/13739] Run-time error: "Internal error" on correct input to READ with NAMELIST
  2004-01-19 13:51 [Bug libfortran/13739] New: Run-time error: "Internal error" on correct input to READ with NAMELIST lei at il dot ibm dot com
@ 2004-01-19 13:54 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-19 13:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-19 13:54 -------
This is a dup of bug 13738.

*** This bug has been marked as a duplicate of 13738 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2004-01-19 13:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-19 13:51 [Bug libfortran/13739] New: Run-time error: "Internal error" on correct input to READ with NAMELIST lei at il dot ibm dot com
2004-01-19 13:54 ` [Bug libfortran/13739] " pinskia 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).