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/52062] [4.6.2 regression] public generic name, specific functions of private types


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

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org
           Severity|major                       |normal

--- Comment #1 from kargl at gcc dot gnu.org 2012-01-31 05:57:22 UTC ---
Thanks for the bug report.

It seems J3 (in its infinite wisdom) change accessibility of derived types.

Page xiii

Fortran 2003 contains several extensions to Fortran 95; among them are:

 (1) Derived-type enhancements: parameterized derived types (allows the
     kind, length, or shape of a derived type's components to be chosen
     when the derived type is used), mixed component accessibility (allows
     different components to have different accessibility), public entities
     of private type, improved structure constructors, and finalizers.

I haven't looked further, but this suggest that want you found is
indeed a change in F2003 in comparison of F95.


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