re PR fortran/36325 (specific or generic INTERFACE implies the EXTERNAL attribute)
authorJanus Weil <janus@gcc.gnu.org>
Wed, 28 May 2008 21:27:56 +0000 (23:27 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Wed, 28 May 2008 21:27:56 +0000 (23:27 +0200)
commite68954309d6a19f6008491b90da7bf0c78b3b6b1
tree222a6e4ef029746c2fd84e3d767c20b3d51f3ba1
parent691da334bca13d0056d6d6e6f919995c1f1f9e4e
re PR fortran/36325 (specific or generic INTERFACE implies the EXTERNAL attribute)

2008-05-28  Janus Weil  <janus@gcc.gnu.org>

PR fortran/36325
PR fortran/35830
* interface.c (gfc_procedure_use): Enable argument checking for
external procedures with explicit interface.
* symbol.c (check_conflict): Fix conflict checking for externals.
(copy_formal_args): Fix handling of arrays.
* resolve.c (resolve_specific_f0, resolve_specific_s0): Fix handling
of intrinsics.
* parse.c (parse_interface): Non-abstract INTERFACE statement implies
EXTERNAL attribute.

2008-05-28  Janus Weil  <janus@gcc.gnu.org>

PR fortran/36325
PR fortran/35830
* gfortran.dg/interface_23.f90: New.
* gfortran.dg/gomp/reduction3.f90: Fixed invalid code.
* gfortran.dg/proc_decl_12.f90: New:
* gfortran.dg/external_procedures_1.f90: Fixed error message.

From-SVN: r136130
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/fortran/parse.c
gcc/fortran/resolve.c
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/external_procedures_1.f90
gcc/testsuite/gfortran.dg/gomp/reduction3.f90
gcc/testsuite/gfortran.dg/interface_23.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/proc_decl_12.f90 [new file with mode: 0644]