re PR fortran/79447 ([F08] gfortran rejects valid & accepts invalid internal subprogr...
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 19 Feb 2017 19:59:20 +0000 (19:59 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 19 Feb 2017 19:59:20 +0000 (19:59 +0000)
commit63af1586ca44b400ccde5928dc5a3308637083bf
treeddab479b52277ed3394bab1e6107ae8bcd9b4104
parent4ca4d1e95e39d256095f8274d8dd0d04aed603da
re PR fortran/79447 ([F08] gfortran rejects valid & accepts invalid internal subprogram in a submodule)

2017-02-19  Paul Thomas  <pault@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  <pault@gcc.gnu.org>

PR fortran/79447
* gfortran.dg/submodule_24.f08 : New test.

From-SVN: r245582
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/submodule_24.f08 [new file with mode: 0644]