aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-array.h
diff options
context:
space:
mode:
authorThomas Koenig <tkoenig@gcc.gnu.org>2013-07-14 19:16:56 +0000
committerThomas Koenig <tkoenig@gcc.gnu.org>2013-07-14 19:16:56 +0000
commit38945cfe6a7951407845c96c136a47ee4342fdec (patch)
tree2fa7f4146658fc99be43116101f69b0b8ed81006 /gcc/fortran/trans-array.h
parenta960e80813e7e08410f5fb94368c63f276039b42 (diff)
downloadgcc-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