re PR fortran/33106 (Access of components of public entities of private types wrongly...
authorTobias Burnus <burnus@net-b.de>
Mon, 17 Sep 2007 15:55:22 +0000 (17:55 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Mon, 17 Sep 2007 15:55:22 +0000 (17:55 +0200)
commita08a5751bb82c7c754f45c67366e6f72f5ec35ca
tree9e93fc0f785ba702b30472f270693e92815ed9d6
parent90b1c344ce29ca966bdc6b4eb63a37be194b79c1
re PR fortran/33106 (Access of components of public entities of private types wrongly allowed)

2007-09-17  Tobias Burnus  <burnus@net-b.de>

PR fortran/33106
* resolve.c (resolve_symbol): Reject public variable of
private derived-types for Fortran 95.

2007-09-17  Tobias Burnus  <burnus@net-b.de>

PR fortran/33106
* gfortran.dg/private_type_9.f90: New.

From-SVN: r128550
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/private_type_9.f90 [new file with mode: 0644]