I think I'm almost done with namelist (or maybe I'm the only person
in the world who uses it :-)

$ gfortran -v
Reading specs from /home/zfkts/lib/gcc/ia64-unknown-linux-gnu/4.0.0/specs
Configured with: ../gcc-4.0-20041107/configure --prefix=/home/zfkts
--enable-languages=c,c++,f95
Thread model: posix
gcc version 4.0.0 20041107 (experimental)
$ cat foo.f90
program main
  implicit none
  type foo
     real b(2)
  end type foo
  type(foo) :: a
  namelist /nl/ a
  a%b = 2.
  write (*,nl)
end program main
$ gfortran foo.f90
foo.f90: In function 'MAIN__':
foo.f90:8: fatal error: gfc_todo: Not Implemented: NAMELIST IO of array in
derived type
compilation terminated.

-- 
           Summary: namelist of array in derived type unimplemented
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Thomas dot Koenig at online dot de
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: ia64-unknown-linux-gnu


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

Reply via email to