Fortran code: INTEGER :: i(3,3)
namelist/namtest/i i=0 OPEN(10) CLOSE(10) READ(10,namtest) WRITE(6,namtest) END Namelist in fort.10: &namtest i(1,1)=1,2,3, i(2,1)=4,5,6, i(3,1)=7,8,9, / Print out of program: &NAMTEST I= 1, 4, 7, 0, 6, 8, 2*0 , 9, / Output should have been: &NAMTEST I= 1, 4, 7, 2, 5, 8, 3, 6, 9, / -- Summary: Wrongly read namelist with two dimensional array. Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: toon at moene dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39668