]> gcc.gnu.org Git - gcc.git/commit
re PR fortran/29992 ([4.1 only] INTERFACE equivalent to MODULE PROCEDURE?!)
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 20 Dec 2006 13:48:06 +0000 (13:48 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 20 Dec 2006 13:48:06 +0000 (13:48 +0000)
commit71f77fd790b55c7d6b831d76665bdf26a65fad2b
tree006a73693cd6f5f41909b3e2d5aff9801697221d
parent0550e7b7aa95d5edd861932b4301a659266f0d0a
re PR fortran/29992 ([4.1 only] INTERFACE equivalent to MODULE PROCEDURE?!)

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.

From-SVN: r120072
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/gfortran.h
gcc/fortran/interface.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/generic_10.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/generic_9.f90 [new file with mode: 0644]
This page took 0.057937 seconds and 5 git commands to generate.