[Patch, Fortran, F03] PR 80046: Explicit interface required: pointer argument
Paul Richard Thomas
paul.richard.thomas@gmail.com
Sun Apr 9 10:40:00 GMT 2017
Hi Janus,
The patch is OK for trunk.
Thanks
Paul
On 7 April 2017 at 17:51, Janus Weil <janus@gcc.gnu.org> wrote:
> ping!
>
> 2017-03-29 22:25 GMT+02:00 Janus Weil <janus@gcc.gnu.org>:
>> Hi all,
>>
>> here is a patch that enhances the diagnostics for procedure-pointer
>> assignments, so that procedure-pointer components that need an
>> explicit interface are correctly rejected.
>>
>> Regtests cleanly on x86_64-linux-gnu. Ok for trunk?
>>
>> Cheers,
>> Janus
>>
>>
>> 2017-03-29 Janus Weil <janus@gcc.gnu.org>
>>
>> PR fortran/80046
>> * expr.c (gfc_check_pointer_assign): Check if procedure pointer
>> components in a pointer assignment need an explicit interface.
>>
>> 2017-03-29 Janus Weil <janus@gcc.gnu.org>
>>
>> PR fortran/80046
>> * gfortran.dg/proc_ptr_comp_48.f90: New test case.
--
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein
More information about the Fortran
mailing list