public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/48048] New: [F2003] Remove constraint on namelist group objects
@ 2011-03-09 16:08 w6ws at earthlink dot net
  2011-03-09 18:50 ` [Bug fortran/48048] " burnus at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: w6ws at earthlink dot net @ 2011-03-09 16:08 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [F2003] Remove constraint on namelist group objects
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: w6ws@earthlink.net


Fortran-90/95 had a major constraint on namelist group objects which prevented
the use of non-fixed-length objects.  In F2003, this constraint was removed. 
Compare section 5.4 in F95 with section 5.4 in F2003.

This is not a critical need for me at this point in time.  But I wanted to see
it in the bugzilla for completeness.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/48048] [F2003] Remove constraint on namelist group objects
  2011-03-09 16:08 [Bug fortran/48048] New: [F2003] Remove constraint on namelist group objects w6ws at earthlink dot net
@ 2011-03-09 18:50 ` burnus at gcc dot gnu.org
  2011-03-09 20:25 ` w6ws at earthlink dot net
  2011-03-09 23:17 ` w6ws at earthlink dot net
  2 siblings, 0 replies; 4+ messages in thread
From: burnus at gcc dot gnu.org @ 2011-03-09 18:50 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |burnus at gcc dot gnu.org
         Resolution|                            |FIXED

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-03-09 18:50:28 UTC ---
Report comes too late - it's fixed since 2011-01-26 :-)

Cf. PR 47339 and PR 43062.

I case something is not working, please reopen.
For nightly or regular builds, see http://gcc.gnu.org/wiki/GFortranBinaries


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/48048] [F2003] Remove constraint on namelist group objects
  2011-03-09 16:08 [Bug fortran/48048] New: [F2003] Remove constraint on namelist group objects w6ws at earthlink dot net
  2011-03-09 18:50 ` [Bug fortran/48048] " burnus at gcc dot gnu.org
@ 2011-03-09 20:25 ` w6ws at earthlink dot net
  2011-03-09 23:17 ` w6ws at earthlink dot net
  2 siblings, 0 replies; 4+ messages in thread
From: w6ws at earthlink dot net @ 2011-03-09 20:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Walter Spector <w6ws at earthlink dot net> 2011-03-09 20:25:18 UTC ---
>--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-03-09 18:50:28 UTC ---
>Report comes too late - it's fixed since 2011-01-26 :-)
>
>Cf. PR 47339 and PR 43062.
>
>I case something is not working, please reopen.
>For nightly or regular builds, see http://gcc.gnu.org/wiki/GFortranBinaries

Gosh - my copy of the trunk is all of 1.5 months old - just prior to your mods.

Thank you!

Walter


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug fortran/48048] [F2003] Remove constraint on namelist group objects
  2011-03-09 16:08 [Bug fortran/48048] New: [F2003] Remove constraint on namelist group objects w6ws at earthlink dot net
  2011-03-09 18:50 ` [Bug fortran/48048] " burnus at gcc dot gnu.org
  2011-03-09 20:25 ` w6ws at earthlink dot net
@ 2011-03-09 23:17 ` w6ws at earthlink dot net
  2 siblings, 0 replies; 4+ messages in thread
From: w6ws at earthlink dot net @ 2011-03-09 23:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Walter Spector <w6ws at earthlink dot net> 2011-03-09 23:17:20 UTC ---
I updated my copy of the trunk, and rebuilt 4.6.  Non-derived type
allocatable/pointer variables seem to be ok.  However allocatable/pointer
derived type components are not supported.  This appears to be because DTIO is
then required and gfortran does not support it yet.

testnml.f90:55.19:

  namelist /mygroup/ iarray, a, da
                   1
Error: NAMELIST object 'da' in namelist 'mygroup' at (1) has ALLOCATABLE or
POINTER components and thus requires a defined input/output procedure
testnml.f90:66.13:

  print *, da
             1
Error: Data transfer element at (1) cannot have POINTER components

Off topic, but note that the error message for the 'print' statement in my
little test program could be more helpful.  It could give a message similar to
the one provided at the namelist statement.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-09 23:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-09 16:08 [Bug fortran/48048] New: [F2003] Remove constraint on namelist group objects w6ws at earthlink dot net
2011-03-09 18:50 ` [Bug fortran/48048] " burnus at gcc dot gnu.org
2011-03-09 20:25 ` w6ws at earthlink dot net
2011-03-09 23:17 ` w6ws at earthlink dot net

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