re PR fortran/48810 ([OOP] TPB rejected because module procedure is private)
authorTobias Burnus <burnus@net-b.de>
Fri, 29 Apr 2011 16:49:53 +0000 (18:49 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Fri, 29 Apr 2011 16:49:53 +0000 (18:49 +0200)
commit12578be73d300173f75624b75d1336d17d97c116
tree9644e56190962060adbebba7e4e07176fe353047
parent176f076f050ffd64e785c6ed12937879d7b0eda4
re PR fortran/48810 ([OOP] TPB rejected because module procedure is private)

2011-04-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/48810
        * resolve.c (resolve_typebound_generic_call): Don't check access
        flags of the specific function.

        PR fortran/48800
        * resolve.c (resolve_formal_arglist): Don't change AS_DEFERRED
        to AS_ASSUMED_SHAPE for function results.
        (resolve_fl_var_and_proc): Print also for function results with
        AS_DEFERRED an error, if they are not a pointer or allocatable.
        (resolve_types): Make sure arguments of procedures in interface
        blocks are resolved.

2011-04-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/48810
        * gfortran.dg/typebound_proc_22.f90: New.

        PR fortran/48800
        * gfortran.dg/interface_36.f90: New.

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