Bug 33019 - FORTRAN NAMELIST Run Time Problem
Summary: FORTRAN NAMELIST Run Time Problem
Status: RESOLVED DUPLICATE of bug 33039
Alias: None
Product: gcc
Classification: Unclassified
Component: libfortran (show other bugs)
Version: 4.3.0
: P3 normal
Target Milestone: ---
Assignee: Jerry DeLisle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-08 02:16 UTC by Jerry DeLisle
Modified: 2007-08-09 23:37 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Namelist input file (310 bytes, text/plain)
2007-08-08 02:18 UTC, Jerry DeLisle
Details
Namelist input file (240 bytes, text/plain)
2007-08-08 02:19 UTC, Jerry DeLisle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jerry DeLisle 2007-08-08 02:16:28 UTC
Unable to tell the difference between 'CODE' and 'CODEtwo' namelist names in attachments to follow.
Comment 1 Jerry DeLisle 2007-08-08 02:18:18 UTC
Created attachment 14040 [details]
Namelist input file

Test case using attached input:

      PROGRAM namelist

      CHARACTER*25 CHAR

      NAMELIST /CODE/ CHAR, X

      NAMELIST /CODEtwo/ X

C

      OPEN(5, file='namelist.in')

  100 CHAR = 'Initialize string ***'

      X    = -777.

      READ(5, nml=CODE, END=999)

      WRITE(6,*) CHAR, X

      GO TO 100

  999 STOP 'namelist'

      END PROGRAM namelist
Comment 2 Jerry DeLisle 2007-08-08 02:19:29 UTC
Created attachment 14041 [details]
Namelist input file

Correct input file.
Comment 3 Jerry DeLisle 2007-08-09 23:37:40 UTC

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