[fortran, patch] PR25094 - check for private types in public interfaces

Daniel Franke franke.daniel@gmail.com
Sun Jul 8 20:52:00 GMT 2007


On Tuesday 03 July 2007 03:38:46 Jerry DeLisle wrote:
> Daniel Franke wrote:
> > As is, gfortran accepts PRIVATE procedures in PUBLIC interfaces which
> > expect dummy arguments of PRIVATE type. The patch is straightforward, the
> > testcase the reporter's.
> >
> > :ADDPATCH fortran:
> >
> > gcc/fortran:
> > 2007-07-02  Daniel Franke  <franke.daniel@gmail.com>
> >
> > 	PR fortran/25094
> > 	* resolve.c (resolve_fl_procedure): Added check for PRIVATE types
> > 	in PUBLIC interfaces.
> >
> > gcc/testsuite:
> > 2007-07-02  Daniel Franke  <franke.daniel@gmail.com>
> >
> > 	PR fortran/25094
> > 	* gfortran.dg/interface_13.f90: New test.

Fixed the typo sorted out the other comment on IRC.
Committed as r126466.



More information about the Gcc-patches mailing list