I intend to commit the attached patch on Saturday. 2018-12-02 Steven G. Kargl PR fortran/87922 * io.c (gfc_match_open): ASYNCHRONOUS must be scalar. PR fortran/87945 * decl.c (var_element): Inquiry parameter cannot be a data object. (match_data_constant): Inquiry parameter can be a data in a data statement. PR fortran/88139 * dump-parse-tree.c (write_proc): Alternate return. PR fortran/88025 * expr.c (gfc_apply_init): Remove asserts and check for valid ts->u.cl->length. PR fortran/88048 * resolve.c (check_data_variable): Convert gfc_internal_error to an gfc_error. Add a nearby missing 'return false;' PR fortran/88116 * simplify.c: Remove internal error and return gfc_bad_expr. PR fortran/88205 * io.c (gfc_match_open): STATUS must be CHARACTER type. PR fortran/88206 * match.c (gfc_match_type_spec): REAL can be an intrinsic function. PR fortran/88228 * expr.c (check_null, check_elemental): Work around -fdec and initialization with logical operators operating on integers. PR fortran/88249 * gfortran.h: Update prototype for gfc_resolve_filepos * io.c (gfc_resolve_filepos): Accept the locus to include in errors. * resolve.c (gfc_resolve_code): Pass locus. PR fortran/88269 * io.c (io_constraint): Update macro. Remove incompatible use of io_constraint and give explicit error. PR fortran/88328 * io.c (resolve_tag_format): Detect zero-sized array. 2018-12-02 Steven G. Kargl PR fortran/87922 * gfortran.dg/pr87922.f90: New test. PR fortran/887945 * gfortran.dg/pr87945_1.f90: New test. * gfortran.dg/pr87945_2.f90: New test. PR fortran/87994 * gfortran.dg/pr87994_1.f90: New test. * gfortran.dg/pr87994_2.f90: New test. * gfortran.dg/pr87994_3.f90: New test. PR fortran/88025 * gfortran.dg/pr88025.f90: New test. PR fortran/88048 * gfortran.dg/pr88048.f90: New test. PR fortran/88116 * gfortran.dg/pr88116_1.f90: New test. * gfortran.dg/pr88116_2.f90: New test. PR fortran/88139 * gfortran.dg/pr88139.f90: New test. PR fortran/88205 * gfortran.dg/pr88205.f90: New test. PR fortran/88206 * gfortran.dg/pr88206.f90: New test. PR fortran/88228 * gfortran.dg/pr88228.f90: New test. PR fortran/88249 * gfortran.dg/pr88249.f90: New test. PR fortran/88269 * gfortran.dg/pr88269.f90: New test. PR fortran/88328 * gfortran.dg/pr88328.f90: New test. -- Steve