This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/43062] NAMELIST attribute conflicts with ALLOCATABLE attribute
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Feb 2010 17:04:14 -0000
- Subject: [Bug fortran/43062] NAMELIST attribute conflicts with ALLOCATABLE attribute
- References: <bug-43062-18785@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from kargl at gcc dot gnu dot org 2010-02-15 17:04 -------
(In reply to comment #4)
> (In reply to comment #3)
> > I've posted a question to c.l.f about this code. I
> > believe the language of the standard is contradictory
> > and as such the code can be interpreted as illegal or
> > legal.
> >
> > http://groups.google.com/group/comp.lang.fortran/browse_frm/thread/76b23c9927b52161#
> >
>
> Into the final committee draft J3/03-007R2, section 5.4, I found :
>
> C574 (R553) A namelist-group-object shall not be an assumed-size array.
>
> It was not the case in F95.
>
Your code doesn't contain an assumed-sized array.
--
steve
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43062