This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran, F03] PR 80046: Explicit interface required: pointer argument
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Janus Weil <janus at gcc dot gnu dot org>
- Cc: gfortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 9 Apr 2017 11:40:35 +0100
- Subject: Re: [Patch, Fortran, F03] PR 80046: Explicit interface required: pointer argument
- Authentication-results: sourceware.org; auth=none
- References: <CAKwh3qgF=J+qjWZto850vNehGaF9yyUODBqtr2-9WFv=1RRfjQ@mail.gmail.com> <CAKwh3qgZ=zUbzU7oU+BzDSC7Q-S+Km3inVhayOgFvLTWGE0ZVg@mail.gmail.com>
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