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/25297] Support for STRUCTURE/END STRUCTURE and RECORD



------- Comment #3 from steven at gcc dot gnu dot org  2006-07-03 21:52 -------
Paul,

Since gfortran is developed by volunteers who are often gfortran users
themselves, it usually depends on the needs of the developers what gets
implemented in gfortran.  Given that nobody has responded to your latest
comment in months, apparently this is not a feature that many gfortran users
are interested in.  That is not really surprising because most of them probably
used g77 before (GNU Fortran 77) which also did not support RECORD.

What would be helpful to know in this case, is how the standard DERIVED TYPE
feature of Fortran 90 (and later) compares to your STRUCTURE+RECORD thing.  If
the semantics of these two features is not very different, then perhaps we can
implement it without too much trouble.

Now, if you have time for some research, perhaps you could figure out a thing
or two for us, such as: how does the SGI compiler handle mixed F95 derived
types and RECORD declarations; how are STRUCTURE types layed out?  Basically
any comparison of derived types vs. STRUCTURE would be nice.

If the two features can easily co-exist, then I think it should be quite easy
to implement support for STRUCTURE in gfortran.


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2006-01-02 07:13:40         |2006-07-03 21:52:33
               date|                            |


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


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