gfortran.h (gfc_check_access): Add prototype.
authorPaul Brook <paul@codesourcery.com>
Sat, 22 Jan 2005 18:23:43 +0000 (18:23 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Sat, 22 Jan 2005 18:23:43 +0000 (18:23 +0000)
commitaf30f793c95eacd307ed1c52354b64b4f9aa1dc6
tree741a6404b43521797001c198018498d7589d9458
parentd7f3fc19903a41f07d22b0b7b38d06e16cff55b8
gfortran.h (gfc_check_access): Add prototype.

2005-01-22  Paul Brook  <paul@codesourcery.com>

* gfortran.h (gfc_check_access): Add prototype.
* match.c (gfc_match_namelist): Remove TODO.
* module.c (check_access): Rename ...
(gfc_check_access): ... to this.  Boolify.  Update callers.
* resolve.c (resolve_symbol): Check for private objects in public
namelists.
testsuite/
* namelist_1.f90: New test.

From-SVN: r94073
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/match.c
gcc/fortran/module.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/namelist_1.f90 [new file with mode: 0644]