This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch,gfortran] PR 23843: IO on derived types with PRIVATE components(fwd)
- From: Tobias Schlüter <tobias dot schlueter at physik dot uni-muenchen dot de>
- To: Erik Edelmann <eedelman at acclab dot helsinki dot fi>
- Cc: gfortran <fortran at gcc dot gnu dot org>,gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 22 Sep 2005 23:18:48 +0200
- Subject: Re: [patch,gfortran] PR 23843: IO on derived types with PRIVATE components(fwd)
- References: <20050922205942.GB12258@acclab.helsinki.fi>
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