This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR 42545: type extension: parent component has wrong accessibility
- From: Tobias Burnus <burnus at net-b dot de>
- To: Janus Weil <janus at gcc dot gnu dot org>
- Cc: gfortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 19 Jan 2010 13:53:03 +0100
- Subject: Re: [Patch, Fortran] PR 42545: type extension: parent component has wrong accessibility
- References: <854832d41001181310n67d7f50lf4bfc12f0e527e5c@mail.gmail.com>
On 01/18/2010 10:10 PM, Janus Weil wrote:
> The patch was regtested on x86_64-unknown-linux-gnu. Ok for trunk?
>
OK. Thanks for the patch!
Tobias
> gcc/fortran/
> 2010-01-18 Janus Weil <janus@gcc.gnu.org>
>
> PR fortran/42545
> * resolve.c (resolve_fl_derived): Set the accessibility of the parent
> component for extended types.
> * symbol.c (gfc_find_component): Remove a wrongly-worded error message
> and take care of parent component accessibility.
>
> gcc/testsuite/
> 2010-01-18 Janus Weil <janus@gcc.gnu.org>
>
> PR fortran/42545
> * gfortran.dg/extends_6.f03: Modified an error message.
> * gfortran.dg/extends_10.f03: New test.
> * gfortran.dg/private_type_6.f03: Modified an error message.
> * gfortran.dg/structure_constructor_8.f03: Ditto.
>