http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52062
--- Comment #3 from John.Harper at msor dot vuw.ac.nz 2012-01-31 21:26:45 UTC --- On Tue, 31 Jan 2012, kargl at gcc dot gnu.org wrote: > Date: Tue, 31 Jan 2012 05:57:22 +0000 > From: kargl at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org> > To: john.har...@vuw.ac.nz > Subject: [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. > > -- > Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. Indeed. I expected compilers to treat the program as either bad f95 or good f2003, because we're still in the transition period between them 9 years after 2003. So I was happy for gfortran 4.4.4 to treat it as good f2003 but not for 4.6.2 to crash at compile time. IMHO the wisdom of J3 is HUGE but not INF :-) -- John Harper, School of Mathematics Statistics and Operations Research Victoria University, PO Box 600, Wellington 6140, New Zealand e-mail john.har...@vuw.ac.nz phone (+64)(4)463 5276 fax (+64)(4)463 5045