public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "kargl at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/43062] NAMELIST attribute conflicts with ALLOCATABLE attribute Date: Wed, 17 Feb 2010 15:57:00 -0000 [thread overview] Message-ID: <20100217155701.18860.qmail@sourceware.org> (raw) In-Reply-To: <bug-43062-18785@http.gcc.gnu.org/bugzilla/> ------- Comment #12 from kargl at gcc dot gnu dot org 2010-02-17 15:57 ------- (In reply to comment #10) > (NAG f95 v5.1 and g95 reject it unconditionally; ifort allows it by default but > rejects it with -stand f95 or -stand f03.) > > I think one should really send a interpretation request. I already contacted Dan Nagle. I'll write up the issue today and send it to whom. > > A patch would be the following. What about POINTERs? > See comment #2. > Index: symbol.c > =================================================================== > --- symbol.c (Revision 156815) > +++ symbol.c > @@ -389,2 +389,10 @@ check_conflict (symbol_attribute *attr, > > + if (attr->in_namelist && attr->allocatable) > + { > + a1 = in_namelist; > + a2 = allocatable; > + standard = GFC_STD_F2003; > + goto conflict_std; > + } > + > /* Check for attributes not allowed in a BLOCK DATA. */ > @@ -493,3 +501,2 @@ check_conflict (symbol_attribute *attr, > conf (in_namelist, pointer); > - conf (in_namelist, allocatable); > This isn't sufficient. See comment #2. During a namelist read/write, gfortran needs to check that the allocatable array is allocated and that a pointer is associated with a target. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43062
next prev parent reply other threads:[~2010-02-17 15:57 UTC|newest] Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-02-14 13:29 [Bug fortran/43062] New: " zazzou at gmail dot com 2010-02-14 17:21 ` [Bug fortran/43062] " pault at gcc dot gnu dot org 2010-02-14 17:27 ` kargl at gcc dot gnu dot org 2010-02-15 1:30 ` kargl at gcc dot gnu dot org 2010-02-15 8:18 ` zazzou at gmail dot com 2010-02-15 17:04 ` kargl at gcc dot gnu dot org 2010-02-15 20:34 ` jvdelisle at gcc dot gnu dot org 2010-02-15 21:47 ` kargl at gcc dot gnu dot org 2010-02-15 21:50 ` kargl at gcc dot gnu dot org 2010-02-17 2:07 ` jvdelisle at gcc dot gnu dot org 2010-02-17 7:32 ` burnus at gcc dot gnu dot org 2010-02-17 8:23 ` burnus at gcc dot gnu dot org 2010-02-17 15:57 ` kargl at gcc dot gnu dot org [this message] 2010-02-17 16:03 ` kargl at gcc dot gnu dot org 2010-02-17 21:26 ` burnus at gcc dot gnu dot org 2010-03-01 8:45 ` burnus at gcc dot gnu dot org 2010-04-06 18:42 ` burnus at gcc dot gnu dot org [not found] <bug-43062-4@http.gcc.gnu.org/bugzilla/> 2010-10-01 20:21 ` jvdelisle at gcc dot gnu.org 2010-10-02 6:44 ` burnus at gcc dot gnu.org 2011-01-18 13:07 ` burnus at gcc dot gnu.org 2011-01-18 13:40 ` jvdelisle at gcc dot gnu.org 2011-01-18 13:40 ` zazzou at gmail dot com 2011-01-22 21:58 ` burnus at gcc dot gnu.org 2011-01-22 22:41 ` burnus at gcc dot gnu.org 2011-01-26 10:33 ` burnus at gcc dot gnu.org 2011-01-28 9:43 ` zazzou at gmail dot com 2011-01-28 10:19 ` burnus at gcc dot gnu.org 2011-01-29 22:23 ` zazzou at gmail dot com 2011-02-02 17:59 ` dnovillo at gcc dot gnu.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=20100217155701.18860.qmail@sourceware.org \ --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).