re PR fortran/60952 ([F03] Problem using "end" as a type-bound procedure and containe...
authorJanus Weil <janus@gcc.gnu.org>
Sun, 13 Nov 2016 11:12:05 +0000 (12:12 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Sun, 13 Nov 2016 11:12:05 +0000 (12:12 +0100)
commitf9d49cd1d03747a338d40afdead14b80b5cd7df3
tree568ee7d6f8ce51486b69b35ee40705bd76793bc0
parent9cbf8673106e24e33f2ab2ed9a054c3a759d84e1
re PR fortran/60952 ([F03] Problem using "end" as a type-bound procedure and contained procedure)

2016-11-13  Janus Weil  <janus@gcc.gnu.org>

PR fortran/60952
* decl.c (match_procedure_in_type): Apply the FL_PROCEDURE attribute
to the target procedure.

2016-11-13  Janus Weil  <janus@gcc.gnu.org>

PR fortran/60952
* gfortran.dg/typebound_proc_34.f90: New test.

From-SVN: r242352
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/typebound_proc_34.f90 [new file with mode: 0644]