This is the mail archive of the gcc-patches@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]

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


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


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