This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/29992] INTERFACE equivalent to MODULE PROCEDURE?!



------- Comment #6 from pault at gcc dot gnu dot org  2006-12-20 13:48 -------
Subject: Bug 29992

Author: pault
Date: Wed Dec 20 13:48:06 2006
New Revision: 120072

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120072
Log:
2006-12-20  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/29992
        * interface.c (check_sym_interfaces): Module procedures in a
        generic must be use associated or contained in the module.
        * decl.c (gfc_match_modproc): Set attribute mod_proc.
        * gfortran.h (symbol_attribute): Add mod_proc atribute.

        PR fortran/30081
        * resolve.c (resolve_generic_f, resolve_generic_s): Use
        gfc_intrinsic_name to find out if the function is intrinsic
        because it does not have to be a generic intrinsic to be
        overloaded.

2006-12-20  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/29992
        * gfortran.dg/generic_9.f90: New test.

        PR fortran/30081
        * gfortran.dg/generic_10.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/generic_10.f90
    trunk/gcc/testsuite/gfortran.dg/generic_9.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/interface.c
    trunk/gcc/fortran/resolve.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]