]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/54884 (Externally used PRIVATE module procedure wrongly marked as TREE_...
authorTobias Burnus <burnus@gcc.gnu.org>
Thu, 18 Oct 2012 17:09:13 +0000 (19:09 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Thu, 18 Oct 2012 17:09:13 +0000 (19:09 +0200)
commitfd0611850d548ec973dfff208a064eb561621481
tree1184fe6275641dc585ad6282f7144996f451f07c
parent0fb2e99454910a5071743ccb924223ca3df33d36
re PR fortran/54884 (Externally used PRIVATE module procedure wrongly marked as TREE_PUBLIC()=0)

2012-10-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/54884
        * resolve.c (specification_expr): Change to bool.
        (resolve_formal_arglist, resolve_symbol): Set
        specification_expr to true before resolving the array spec.
        (resolve_variable, resolve_charlen, resolve_fl_variable):
        Properly reset specification_expr.
        (resolve_function): Set public_use when used in
        a specification expr.

2012-10-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/54884
        * gfortran.dg/public_private_module_7.f90: New.

From-SVN: r192571
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/public_private_module_7.f90 [new file with mode: 0644]