2016-11-27 Paul Thomas <pault@gcc.gnu.org>
commite006e2db1bb804e8c74d13f2a65ab3b4f865c712
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 27 Nov 2016 19:00:00 +0000 (27 19:00 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 27 Nov 2016 19:00:00 +0000 (27 19:00 +0000)
treef5e81c1cd4cacf52af813f2ef61df3045b430cc7
parent01103fc71142da1aea5a1ac5a362d63db8224bf1
2016-11-27  Paul Thomas  <pault@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  <pault@gcc.gnu.org>

PR fortran/78474
* gfortran.dg/submodule_22.f08: New test.

PR fortran/78331
* gfortran.dg/submodule_21.f08: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242900 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/module.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/submodule_21.f08 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/submodule_22.f08 [new file with mode: 0644]