This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/52062] [4.6.2 regression] public generic name, specific functions of private types
- From: "kargl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 31 Jan 2012 05:57:22 +0000
- Subject: [Bug fortran/52062] [4.6.2 regression] public generic name, specific functions of private types
- Auto-submitted: auto-generated
- References: <bug-52062-4@http.gcc.gnu.org/bugzilla/>
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.