public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libfortran/37294]  New: Namelist I/O to array character internal units
@ 2008-08-31  0:21 jvdelisle at gcc dot gnu dot org
  2008-08-31  0:25 ` [Bug libfortran/37294] " jvdelisle at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jvdelisle at gcc dot gnu dot org @ 2008-08-31  0:21 UTC (permalink / raw)
  To: gcc-bugs

The following illustrates this:

  character(30) :: line(3)
  namelist /stuff/ n
  n = 123
  line = ""
  write(line,nml=stuff)
  write(*,*) "1)",line(1)
  write(*,*) "2)",line(2)
  write(*,*) "3)",line(3)
  end 

$ ./a.out 
 1)&STUFF  N=        123,  /     
 2)                              
 3)                      

This is really low priority since F2003 disallows it any way. I presume the
output should be:

$ ./a.out 
 1)&STUFF
 2)N=        123,
 3)/

Any comments on validity of this?


-- 
           Summary: Namelist I/O to array character internal units
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: libfortran
        AssignedTo: jvdelisle at gcc dot gnu dot org
        ReportedBy: jvdelisle at gcc dot gnu dot org


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


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

end of thread, other threads:[~2008-11-15 19:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-31  0:21 [Bug libfortran/37294] New: Namelist I/O to array character internal units jvdelisle at gcc dot gnu dot org
2008-08-31  0:25 ` [Bug libfortran/37294] " jvdelisle at gcc dot gnu dot org
2008-08-31  9:13 ` burnus at gcc dot gnu dot org
2008-11-13  6:07 ` jvdelisle at gcc dot gnu dot org
2008-11-13 15:56 ` burnus at gcc dot gnu dot org
2008-11-15 19:28 ` jvdelisle at gcc dot gnu dot org
2008-11-15 19:35 ` jvdelisle at gcc dot gnu dot org
2008-11-15 19:41 ` jvdelisle 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).