re PR fortran/51378 ([OOP] Structure constructor wrongly rejects parent components...
authorTobias Burnus <burnus@net-b.de>
Thu, 8 Dec 2011 18:56:58 +0000 (19:56 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Thu, 8 Dec 2011 18:56:58 +0000 (19:56 +0100)
commit3787b8ffe0ccf1f5cc47c2065f535f8a944156ea
treeed6dc1b12ec1287f852f63b9512c2ca1df234c2e
parent14dcdf69d57b85cc5926162da7699f4846bb3faf
re PR fortran/51378 ([OOP] Structure constructor wrongly rejects parent components if only child has PRIVATE comps)

2011-12-08  Tobias Burnus  <burnus@net-b.de>

        PR fortran/51378
        * symbol.c (gfc_find_component): Fix access check of parent
        components.

2011-12-08  Tobias Burnus  <burnus@net-b.de>

        PR fortran/51378
        * gfortran.dg/private_type_14.f90: New.

From-SVN: r182133
gcc/fortran/ChangeLog
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/private_type_14.f90 [new file with mode: 0644]