diff options
author | Tobias Burnus <burnus@net-b.de> | 2012-08-12 11:52:33 +0200 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2012-08-12 11:52:33 +0200 |
commit | 58341a42945fd052a5d27ef932a41038f11e3398 (patch) | |
tree | 0548329e2709a7fd00b2711e09a8cd7dfa34c31b /gcc/passes.c | |
parent | 46d2f0c2bc4654815ea3f484a9fd59c8ec0ad362 (diff) | |
download | gcc-58341a42945fd052a5d27ef932a41038f11e3398.zip gcc-58341a42945fd052a5d27ef932a41038f11e3398.tar.gz gcc-58341a42945fd052a5d27ef932a41038f11e3398.tar.bz2 |
re PR fortran/54221 (Explicit private access specifier signals "unexpected defined but not used [-Wunused-function]" warning)
2012-08-12 Tobias Burnus <burnus@net-b.de>
PR fortran/54221
* trans-decl.c (gfc_finish_var_decl, build_function_decl):
Fix setting private module vars/procs as TREE_PUBLIC(...) = 0.
2012-08-12 Tobias Burnus <burnus@net-b.de>
PR fortran/54221
* vect/vect-gems.f90: Don't mark module vars as PRIVATE as
they appear uninitialized on the RHS.
* gfortran.dg/public_private_module_6.f90: New.
From-SVN: r190325
Diffstat (limited to 'gcc/passes.c')
0 files changed, 0 insertions, 0 deletions