[Patch, Fortran] specific or generic INTERFACE implies the EXTERNAL attribute (PR36325)
Janus Weil
janus@gcc.gnu.org
Wed May 28 18:50:00 GMT 2008
Hi all,
here is the fix for PR36325, regtested on i686-pc-linux-gnu with no
failures. Since I have svn write permission now, I can commit it
myself. I just need someone to approve it.
Cheers,
Janus
2008-05-28 Janus Weil <janus@gcc.gnu.org>
PR fortran/36325
* 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
* 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.
More information about the Fortran
mailing list