[Patch, Fortran] specific or generic INTERFACE implies the EXTERNAL attribute (PR36325)

Janus Weil janus@gcc.gnu.org
Wed May 28 18:52:00 GMT 2008


Ok, just totally forgot to attach the patch. Here it goes.

2008/5/28 Janus Weil <janus@gcc.gnu.org>:
> 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.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr36325_v3.diff
Type: text/x-patch
Size: 6665 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080528/301b4ab9/attachment.bin>


More information about the Fortran mailing list