https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118793
--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- The particular error situation is unique because it is just before we try to match the variable name. This might be sufficient in this case: $ ./a.out At line 18 of file pr118793.f90 Fortran runtime error: namelist read: misplaced '=' following previous '=' while reading data.