https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78331
--- Comment #4 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Sat Feb 25 11:36:45 2017 New Revision: 245737 URL: https://gcc.gnu.org/viewcvs?rev=245737&root=gcc&view=rev Log: 2017-02-25 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. 2017-02-25 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: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/submodule_21.f08 branches/gcc-6-branch/gcc/testsuite/gfortran.dg/submodule_22.f08 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/module.c branches/gcc-6-branch/gcc/testsuite/ChangeLog