This is the mail archive of the 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]

Re: [Patch, Fortran, 4.5] PR38290: procedure pointer assignment checking

2009/4/6 Tobias Burnus <>:
> Janus Weil wrote:
>> 2009/4/6 Janus Weil <>:
>>> 2008/12/11 Janus Weil <>:
>>>> Hi all,
>>>> here comes my patch for PR38290. This fixes a couple of issues related
>>>> to PROCEDURE statements with intrinsic interfaces:
>>>> PROCEDURE(sin) :: p
>>>> For these the interface of the intrinsic is now correctly transferred
>>>> to the procedure symbol (the formal args were not copied at all, and
>>>> the typespec was copied too late).
>>>> In addition the interface check for procptr assignments has been
>>>> re-enabled. This check is done via gfc_compare_interfaces, which was
>>>> modified to also handle intrinsics.
>>>> Regtested on i686-pc-linux-gnu. Ok for 4.5?
>>> Here is an update to this patch.
> Looks OK. Thanks for the checking patch.

Committed as r145651. Thanks a lot.

> Next comes then the
> proc-pointer-as-function-return patch, I assume? Then only the
> proc-pointer-components-with-NOPASS and with PASS are missing, or is
> there something else?

Right. Concerning procedure pointers the major missing features are PP
function results and PP components. Apart from these there are only a
couple of minor PRs, which struggle with the fineprint of the F03

The patch for PP results should be more-or-less committable already
(I'll post an update soon), but PP components need some more


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