2009-09-10 Steven G. Kargl <kargl@gcc.gnu.org>
commit15ca386589c818417731fb096d1d65048760976b
authorkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Sep 2009 21:22:08 +0000 (10 21:22 +0000)
committerkargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Sep 2009 21:22:08 +0000 (10 21:22 +0000)
tree4b5e73eaa50717049042d4e38225bf9f848a766b
parent1d842749b5e30a22c0fd81bcb51d45a1cd2d60d3
2009-09-10  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/31292
* fortran/decl.c(gfc_match_modproc): Check that module procedures
from a module can USEd in module procedure statements in other
program units.  Update locus for better error message display.
Detect intrinsic procedures in module procedure statements.

2009-09-10  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/31292
* gfortran.dg/module_procedure_1.f90: New test.
* gfortran.dg/module_procedure_2.f90: Ditto.
* gfortran.dg/generic_14.f90: Move dg-error to new location.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151616 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/generic_14.f90
gcc/testsuite/gfortran.dg/module_procedure_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/module_procedure_2.f90 [new file with mode: 0644]