public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/45516]  New: [F08] allocatable compontents of recursive type
@ 2010-09-03  9:57 janus at gcc dot gnu dot org
  2010-09-03  9:59 ` [Bug fortran/45516] " janus at gcc dot gnu dot org
  2010-09-03 12:12 ` burnus at gcc dot gnu dot org
  0 siblings, 2 replies; 8+ messages in thread
From: janus at gcc dot gnu dot org @ 2010-09-03  9:57 UTC (permalink / raw)
  To: gcc-bugs

John Reid, The new features of Fortran 2008, chapter 5.3:

A recursive type is permitted to be based on allocatable components. Here is a
simple example of a type that holds a stack:

type entry
  real :: value
  integer :: index
  type(entry), allocatable :: next
end type entry

[...]

For this gfortran currently gives:

  type(entry), allocatable :: next
                                  1
Error: Component at (1) must have the POINTER attribute


-- 
           Summary: [F08] allocatable compontents of recursive type
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: janus at gcc dot gnu dot org
OtherBugsDependingO 39627
             nThis:


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


^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <bug-45516-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2020-10-21 12:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-03  9:57 [Bug fortran/45516] New: [F08] allocatable compontents of recursive type janus at gcc dot gnu dot org
2010-09-03  9:59 ` [Bug fortran/45516] " janus at gcc dot gnu dot org
2010-09-03 12:12 ` burnus at gcc dot gnu dot org
     [not found] <bug-45516-4@http.gcc.gnu.org/bugzilla/>
2011-02-03 22:03 ` janus at gcc dot gnu.org
2011-02-06 12:36 ` janus at gcc dot gnu.org
2011-02-06 13:02 ` janus at gcc dot gnu.org
2012-08-29  9:18 ` burnus at gcc dot gnu.org
2020-10-21 12:39 ` cvs-commit at gcc dot gnu.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).