[Patch, Fortran, F03] PR 64508: interface check missing for procedure pointer component as actual argument
Paul Richard Thomas
paul.richard.thomas@gmail.com
Sun Jan 11 15:16:00 GMT 2015
Dear Janus,
As you say, the patch is pretty straightforward :-) OK for trunk.
Thanks for the patch
Paul
On 11 January 2015 at 11:21, Janus Weil <janus@gcc.gnu.org> wrote:
> Ping! (I think this patch is pretty straightforward ...)
>
> Cheers,
> Janus
>
>
>
> 2015-01-06 16:19 GMT+01:00 Janus Weil <janus@gcc.gnu.org>:
>> Hi all,
>>
>> here is a patch which adds an interface check for procedure pointer
>> components as acual arguments. Such a check is there already for
>> ordinary procedures and procedure pointers, but missing for PPCs. It
>> checks the interface of the actual argument versus the interface of
>> the dummy procedure, according to the usual rules.
>>
>> Regtested on x86_64-unknown-linux-gnu. Ok for trunk?
>>
>> Cheers,
>> Janus
>>
>>
>>
>> 2015-01-06 Janus Weil <janus@gcc.gnu.org>
>>
>> PR fortran/64508
>> * interface.c (compare_parameter): Interface check for
>> procedure-pointer component as actual argument.
>>
>> 2015-01-06 Janus Weil <janus@gcc.gnu.org>
>>
>> PR fortran/64508
>> * gfortran.dg/proc_ptr_comp_41.f90: New.
--
Outside of a dog, a book is a man's best friend. Inside of a dog it's
too dark to read.
Groucho Marx
More information about the Fortran
mailing list