https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87318
Bug ID: 87318 Summary: gfortran.dg/dtio_1.f90 is invalid Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: janus at gcc dot gnu.org Target Milestone: --- dtio_1.f90 violates a requirement from F08, chapter 9.6.4.8.3, paragraph 18: "If the defined input/output procedure returns a nonzero value for the iostat argument, the procedure shall also return an explanatory message in the iomsg argument. Otherwise, the procedure shall not change the value of the iomsg argument." See also the discussion at https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/796541.