This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR 38415: procedure pointer assignment to abstract interface
- From: Tobias Burnus <burnus at net-b dot de>
- To: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Sat, 6 Dec 2008 12:10:32 +0100
- Subject: Re: [Patch, Fortran] PR 38415: procedure pointer assignment to abstract interface
Hi Janus,
Your patch is OK, however, you should open a PR which tracks the
missing checks and also notes the problem for intrinsics.
Additionally, can you add a comment to the outcomment section like
"/* TODO. See PR ... */".
Furthermore, if you have a test case which fails with the additional
check, can you add it to the test suite to make sure gfortran
won't regress in the future?
Tobias
>> 2008-12-05 Janus Weil <janus@gcc.gnu.org>
>>
>> PR fortran/38415
>> * expr.c (gfc_check_pointer_assign): Added a check for abstract
>> interfaces in procedure pointer assignments.
>> 2008-12-05 Janus Weil <janus@gcc.gnu.org>
>>
>> PR fortran/38415
>> * gfortran.dg/proc_ptr_2.f90: Extended.
>>