program test_ch_nml
  character(len=2)    :: ch(2)=(/"aa","bb"/)
  namelist /a/ ch
  write(*,nml=a)           !!This is the offending statement
end program test_ch_nml

$ d:/irun/bin/gfortran test_ch_nml.f90
test_ch_nml.f90: In function 'MAIN__':
test_ch_nml.f90:4: internal compiler error: in gfc_conv_string_parameter, at 
for
tran/trans-expr.c:1985
Please submit a full bug report,

-- 
           Summary: ICE caused by CHARACTER array in NAMELIST read or write
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: paulthomas2 at wanadoo dot fr
                CC: gcc-bugs at gcc dot gnu dot org


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

Reply via email to