[Patch, Fortran] PR 42545: type extension: parent component has wrong accessibility

Tobias Burnus burnus@net-b.de
Tue Jan 19 12:53:00 GMT 2010


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.
>   



More information about the Gcc-patches mailing list