trans-decl.c (gfc_build_qualified_array): Fix coarray tokens for module coarrays...
authorTobias Burnus <burnus@net-b.de>
Thu, 8 Jan 2015 18:09:25 +0000 (19:09 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Thu, 8 Jan 2015 18:09:25 +0000 (19:09 +0100)
commitde1184c0def2fe0bafc8dd4988f7b80df7a96147
treeb0a7239b5b08d928b59216b75c02bf6bd6d65bf3
parentec1240433d694c4662f63ccf6e8f36b7cbdffdf8
trans-decl.c (gfc_build_qualified_array): Fix coarray tokens for module coarrays with -fcoarray=lib.

2015-01-08  Tobias Burnus  <burnus@net-b.de>

        * trans-decl.c (gfc_build_qualified_array): Fix coarray tokens
        for module coarrays with -fcoarray=lib.
        (get_proc_pointer_decl): As module variable, make only public
        when not marked as private.

        * gfortran.dg/coarray/codimension_2b.f90: New file.
        * gfortran.dg/coarray/codimension_2.f90: Add it to
        * dg-extra-sources.
        * gfortran.dg/coarray/codimension_2.f90: Call its subroutine.

From-SVN: r219354
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray/codimension_2.f90
gcc/testsuite/gfortran.dg/coarray/codimension_2a.f90
gcc/testsuite/gfortran.dg/coarray/codimension_2b.f90 [new file with mode: 0644]