[patch,gfortran] PR 23843: IO on derived types with PRIVATE components (fwd)

Tobias Schlüter tobias.schlueter@physik.uni-muenchen.de
Thu Sep 22 21:31:00 GMT 2005


Erik Edelmann wrote:
> Here's an improved patch (+ improved testcase) that recursively
> goes through all components of derived type.  Bubblestrapped &
> reg.-tested on 4.0 & mainline, Linux/x86.  Please commit if OK.
> 
> 
> 2005-09-22  Erik Edelmann  <erik.edelmann@iki.fi>
> 
>         PR fortran/23843
>         * resolve.c (derived_inaccessible): New function.
>         (resolve_transfer): Use it to check for private
>         components.
> 
> 
> 2005-09-22  Erik Edelmann  <erik.edelmann@iki.fi>
> 
>         PR fortran/23843
>         * gfortran.dg/der_io_2.f90: New test.

This is ok, and I will commit it once I've finished building and testing the
compiler with your patch.  I'll also add a testcase that checks that this
still works within a module.

- Tobi



More information about the Fortran mailing list