https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107068
--- Comment #1 from Robert Potvliege <r.m.potvliege at durham dot ac.uk> --- Reading a logical array through a namelist triggers an (apparently) spurious run time error in some cases. E.g., when I am compiling the following code with gfortran, program test logical, dimension(3,3) :: flc,flp namelist/inputdata/flc,flp ! read(5,inputdata) ! end program test and read the following file, &INPUTDATA FLC = T, FLP(1,2) = T, / the execution stops with the error message At line 5 of file progtest.f90 (unit = 5, file = 'stdin') Fortran runtime error: Bad repeat count in item 1 of list input However, there is no error for the following input file &INPUTDATA FLC = T, FLP = T, / or the following one &INPUTDATA FLP(1,2) = T, / etc. No error is produced for any of these input files if I compile this short program with the Intel compiler I can access rather than gfortran.