https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109897
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|fortran |libfortran Priority|P3 |P5 Last reconfirmed| |2023-5-17 Severity|normal |enhancement --- Comment #1 from anlauf at gcc dot gnu.org --- I get a nicer error message when I specify the compiler flag -std=f2018 on the command line: Fortran runtime error: Cannot match namelist object name bad_namelist So there might have been some attempt so support legacy stuff so that you don't get the best user experience by default. Can you confirm this?