------- Comment #7 from kargl at gcc dot gnu dot org  2009-09-10 21:22 -------
Subject: Bug 31292

Author: kargl
Date: Thu Sep 10 21:22:08 2009
New Revision: 151616

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151616
Log:
2009-09-10  Steven G. Kargl  <ka...@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  <ka...@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.

Added:
    trunk/gcc/testsuite/gfortran.dg/module_procedure_1.f90
    trunk/gcc/testsuite/gfortran.dg/module_procedure_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/generic_14.f90


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31292

Reply via email to