https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79447
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Sun Feb 19 19:59:20 2017 New Revision: 245582 URL: https://gcc.gnu.org/viewcvs?rev=245582&root=gcc&view=rev Log: 2017-02-19 Paul Thomas <pa...@gcc.gnu.org> PR fortran/79447 * decl.c (gfc_set_constant_character_len): Whitespace. (gfc_match_end): Catch case where a procedure is contained in a module procedure and ensure that 'end procedure' is the correct termination. 2017-02-19 Paul Thomas <pa...@gcc.gnu.org> PR fortran/79447 * gfortran.dg/submodule_24.f08 : New test. Added: trunk/gcc/testsuite/gfortran.dg/submodule_24.f08 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/testsuite/ChangeLog