diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2013-07-14 19:16:56 +0000 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2013-07-14 19:16:56 +0000 |
commit | 38945cfe6a7951407845c96c136a47ee4342fdec (patch) | |
tree | 2fa7f4146658fc99be43116101f69b0b8ed81006 /gcc/fortran/trans-array.h | |
parent | a960e80813e7e08410f5fb94368c63f276039b42 (diff) | |
download | gcc-38945cfe6a7951407845c96c136a47ee4342fdec.zip gcc-38945cfe6a7951407845c96c136a47ee4342fdec.tar.gz gcc-38945cfe6a7951407845c96c136a47ee4342fdec.tar.bz2 |
re PR fortran/52669 (No warning in unused private variable in modules)
2013-07-14 Thomas Koenig <tkoenig@gcc.gnu.org>
Tobias Burnus <burnus@gcc.gnu.org>
PR fortran/52669
* trans-decl.c (gfc_finish_var_decl): Move setting of
PRIVATE for a module variable if the module has a private
default or -fmodule-private is given to...
(gfc_create_module_variable): here. Optionally
warn about private module variable which is not used.
2013-07-14 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/52669
* fortran.dg/module_variable_1.f90: New test.
* fortran.dg/module_variable_2.f90: New test.
Co-Authored-By: Tobias Burnus <burnus@gcc.gnu.org>
From-SVN: r200950
Diffstat (limited to 'gcc/fortran/trans-array.h')
0 files changed, 0 insertions, 0 deletions