2016-12-09 Paul Thomas <pault@gcc.gnu.org>
commitdee7f6d1fa2e54af8e098e29c61121bfee7dc074
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Dec 2016 22:25:26 +0000 (9 22:25 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Dec 2016 22:25:26 +0000 (9 22:25 +0000)
tree9a6e983fb6c75fc6a70618631ea1221773a5aab7
parentc91a2794f38f7068f7a970a1870c47a1f8052f3b
2016-12-09  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/77903
* decl.c (get_proc_name): Use the symbol tlink field instead of
the typespec interface field.
(gfc_match_function_decl, gfc_match_submod_proc): Ditto.
* gfortran.h : Since the symbol tlink field is no longer used
by the frontend for change management, change the comment to
reflect its current uses.
* parse.c (get_modproc_result): Same as decl.c changes.
* resolve.c (resolve_fl_procedure): Ditto.

2016-12-09  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/77903
* gfortran.dg/submodule_20.f08: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243507 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/gfortran.h
gcc/fortran/parse.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/submodule_20.f08 [new file with mode: 0644]