public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "janus at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/45516] New: [F08] allocatable compontents of recursive type Date: Fri, 03 Sep 2010 09:57:00 -0000 [thread overview] Message-ID: <bug-45516-16146@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2010-09-03 9:57 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-09-03 9:57 janus at gcc dot gnu dot org [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-45516-16146@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).