]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/54221 (Explicit private access specifier signals "unexpected defined...
authorTobias Burnus <burnus@net-b.de>
Sun, 12 Aug 2012 09:52:33 +0000 (11:52 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Sun, 12 Aug 2012 09:52:33 +0000 (11:52 +0200)
commit58341a42945fd052a5d27ef932a41038f11e3398
tree0548329e2709a7fd00b2711e09a8cd7dfa34c31b
parent46d2f0c2bc4654815ea3f484a9fd59c8ec0ad362
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
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/public_private_module_6.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/vect/vect-gems.f90