public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/40117]  New: F2008: Type-bound procedure: allow list after PROCEDURE
@ 2009-05-12 12:46 burnus at gcc dot gnu dot org
  2009-06-19  8:27 ` [Bug fortran/40117] [F08] " janus at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2009-05-12 12:46 UTC (permalink / raw)
  To: gcc-bugs

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


-- 
           Summary: F2008: Type-bound procedure: allow list after PROCEDURE
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40117


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/40117] [F08] Type-bound procedure: allow list after PROCEDURE
  2009-05-12 12:46 [Bug fortran/40117] New: F2008: Type-bound procedure: allow list after PROCEDURE burnus at gcc dot gnu dot org
@ 2009-06-19  8:27 ` janus at gcc dot gnu dot org
  2010-04-28  8:43 ` [Bug fortran/40117] [OOP][F2008] " burnus at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: janus at gcc dot gnu dot org @ 2009-06-19  8:27 UTC (permalink / raw)
  To: gcc-bugs



-- 

janus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |39627
              nThis|                            |
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-06-19 08:27:03
               date|                            |
            Summary|F2008: Type-bound procedure:|[F08] Type-bound procedure:
                   |allow list after PROCEDURE  |allow list after PROCEDURE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40117


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/40117] [OOP][F2008] Type-bound procedure: allow list after PROCEDURE
  2009-05-12 12:46 [Bug fortran/40117] New: F2008: Type-bound procedure: allow list after PROCEDURE burnus at gcc dot gnu dot org
  2009-06-19  8:27 ` [Bug fortran/40117] [F08] " janus at gcc dot gnu dot org
@ 2010-04-28  8:43 ` burnus at gcc dot gnu dot org
  2010-06-12  2:24 ` janus at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu dot org @ 2010-04-28  8:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from burnus at gcc dot gnu dot org  2010-04-28 08:42 -------
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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40117


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/40117] [OOP][F2008] Type-bound procedure: allow list after PROCEDURE
  2009-05-12 12:46 [Bug fortran/40117] New: F2008: Type-bound procedure: allow list after PROCEDURE burnus at gcc dot gnu dot org
  2009-06-19  8:27 ` [Bug fortran/40117] [F08] " janus at gcc dot gnu dot org
  2010-04-28  8:43 ` [Bug fortran/40117] [OOP][F2008] " burnus at gcc dot gnu dot org
@ 2010-06-12  2:24 ` janus at gcc dot gnu dot org
  2010-06-12  4:11 ` janus at gcc dot gnu dot org
  2010-06-12  4:13 ` janus at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: janus at gcc dot gnu dot org @ 2010-06-12  2:24 UTC (permalink / raw)
  To: gcc-bugs



-- 

janus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |janus at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2009-06-19 08:27:03         |2010-06-12 02:23:57
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40117


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/40117] [OOP][F2008] Type-bound procedure: allow list after PROCEDURE
  2009-05-12 12:46 [Bug fortran/40117] New: F2008: Type-bound procedure: allow list after PROCEDURE burnus at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2010-06-12  2:24 ` janus at gcc dot gnu dot org
@ 2010-06-12  4:11 ` janus at gcc dot gnu dot org
  2010-06-12  4:13 ` janus at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: janus at gcc dot gnu dot org @ 2010-06-12  4:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from janus at gcc dot gnu dot org  2010-06-12 04:10 -------
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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40117


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug fortran/40117] [OOP][F2008] Type-bound procedure: allow list after PROCEDURE
  2009-05-12 12:46 [Bug fortran/40117] New: F2008: Type-bound procedure: allow list after PROCEDURE burnus at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2010-06-12  4:11 ` janus at gcc dot gnu dot org
@ 2010-06-12  4:13 ` janus at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: janus at gcc dot gnu dot org @ 2010-06-12  4:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from janus at gcc dot gnu dot org  2010-06-12 04:12 -------
Fixed with r160646. Closing.


-- 

janus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40117


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-06-12  4:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-12 12:46 [Bug fortran/40117] New: F2008: Type-bound procedure: allow list after PROCEDURE burnus at gcc dot gnu dot org
2009-06-19  8:27 ` [Bug fortran/40117] [F08] " janus at gcc dot gnu dot org
2010-04-28  8:43 ` [Bug fortran/40117] [OOP][F2008] " burnus at gcc dot gnu dot org
2010-06-12  2:24 ` janus at gcc dot gnu dot org
2010-06-12  4:11 ` janus at gcc dot gnu dot org
2010-06-12  4:13 ` janus at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).