Put it here before it goes out of sight and submerges as minor item in the F2008 standard: TYPE T CONTAINS PROCEDURE :: foo, bar is invalid in F2003 since no list is allowed, but with F2008 there will be a list allowed; see item 6 - "Paper 09-208r1" at http://j3-fortran.org/pipermail/j3/attachments/20090512/817b9628/attachment.txt, which is the following paper: http://j3-fortran.org/doc/year/09/09-208r2.txt Disclaimer: Fortran 2008 is not yet a formal standard, the route to it is listed here: ftp://ftp.nag.co.uk/sc22wg5/N1751-N1800/N1781.txt
Fortran 2008 FDIS (ftp://ftp.nag.co.uk/sc22wg5/N1801-N1850/N1826.pdf) has: R448 type-bound-procedure-stmt is PROCEDURE [ [ , binding-attr -list ] :: ] type-bound-proc-decl -list or PROCEDURE (interface-name), binding-attr -list :: binding-name-list
Subject: Bug 40117 Author: janus Date: Sat Jun 12 04:10:25 2010 New Revision: 160646 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160646 Log: 2010-06-12 Janus Weil <janus@gcc.gnu.org> PR fortran/40117 * decl.c (match_procedure_in_type): Allow procedure lists (F08). 2010-06-12 Janus Weil <janus@gcc.gnu.org> PR fortran/40117 * gfortran.dg/typebound_proc_4.f03: Modified error message. * gfortran.dg/typebound_proc_14.f03: New. * gfortran.dg/typebound_proc_15.f03: New. Added: trunk/gcc/testsuite/gfortran.dg/typebound_proc_14.f03 trunk/gcc/testsuite/gfortran.dg/typebound_proc_15.f03 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/typebound_proc_4.f03
Fixed with r160646. Closing.