https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78331
--- Comment #3 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Sun Nov 27 19:00:00 2016 New Revision: 242900 URL: https://gcc.gnu.org/viewcvs?rev=242900&root=gcc&view=rev Log: 2016-11-27 Paul Thomas <pa...@gcc.gnu.org> PR fortran/78474 * module.c (gfc_match_submodule): If there is more than one colon, it is a syntax error. PR fortran/78331 * module.c (gfc_use_module): If an smod file does not exist it is either because the module does not have a module procedure interface or there is an error in the module. 2016-11-27 Paul Thomas <pa...@gcc.gnu.org> PR fortran/78474 * gfortran.dg/submodule_22.f08: New test. PR fortran/78331 * gfortran.dg/submodule_21.f08: New test. Added: trunk/gcc/testsuite/gfortran.dg/submodule_21.f08 trunk/gcc/testsuite/gfortran.dg/submodule_22.f08 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/module.c trunk/gcc/testsuite/ChangeLog