]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/39850 (Too strict checking for procedures as actual argument)
authorJanus Weil <janus@gcc.gnu.org>
Sun, 21 Jun 2009 19:05:35 +0000 (21:05 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Sun, 21 Jun 2009 19:05:35 +0000 (21:05 +0200)
commit9b63f28250377b90a744fe57ff482df9c6ee70ed
tree3160767e4f7c3939cd7b606a23072d4c87d6230b
parent45a1ba933e8a2679470d45feeb440183dcbad4d9
re PR fortran/39850 (Too strict checking for procedures as actual argument)

2009-06-21  Janus Weil  <janus@gcc.gnu.org>

PR fortran/39850
* interface.c (gfc_compare_interfaces): Take care of implicit typing
when checking the function attribute. Plus another bugfix.
(compare_parameter): Set attr.function and attr.subroutine according
to the usage of a procedure as actual argument.

2009-06-21  Janus Weil  <janus@gcc.gnu.org>

PR fortran/39850
* gfortran.dg/interface_19.f90: Add 'cleanup-modules'.
* gfortran.dg/interface_20.f90: Ditto.
* gfortran.dg/interface_21.f90: Ditto.
* gfortran.dg/interface_22.f90: Ditto.
* gfortran.dg/interface_30.f90: New.
* gfortran.dg/proc_ptr_11.f90: Fix invalid test case.

From-SVN: r148767
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/interface_19.f90
gcc/testsuite/gfortran.dg/interface_20.f90
gcc/testsuite/gfortran.dg/interface_21.f90
gcc/testsuite/gfortran.dg/interface_22.f90
gcc/testsuite/gfortran.dg/interface_30.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/proc_ptr_11.f90