This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/43062] NAMELIST attribute conflicts with ALLOCATABLE attribute



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]