re PR fortran/77903 ([F08] gfortran 6.1.0/7.0.0 accept invalid code with conflicting...
authorPaul Thomas <pault@gcc.gnu.org>
Fri, 9 Dec 2016 22:25:26 +0000 (22:25 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Fri, 9 Dec 2016 22:25:26 +0000 (22:25 +0000)
commitc064374dc436b7e7150be2a01c81f4b71072ef1a
tree9a6e983fb6c75fc6a70618631ea1221773a5aab7
parent36823125e4aee32d457568a0666e9306f5cf7fae
re PR fortran/77903 ([F08] gfortran 6.1.0/7.0.0 accept invalid code with conflicting module/submodule interfaces)

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.

From-SVN: r243507
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]