[Patch, fortran] PR93924/5 - [OOP] ICE with procedure pointer

Tobias Burnus tobias@codesourcery.com
Fri Jan 29 11:05:01 GMT 2021


On 27.01.21 12:52, Paul Richard Thomas via Fortran wrote:
> It would be nice to have the patch for PR98573 (posted 23rd Jan)
> OK'd before the end of the week.
I've just sent some comments (albeit: Thomas has okayed it).
> This patch fixes PRs 93924/5. It is another 'obvious' patch, whose
> consequences are very limited.

LGTM – thanks for the patch,

Tobias

>
> Fortran: Fix ICE due to elemental procedure pointers [PR93924/5].
>
> 2021-01-27  Paul Thomas  <pault@gcc.gnu.org>
>
> gcc/fortran
> PR fortran/93924
> PR fortran/93925
> * trans-expr.c (gfc_conv_procedure_call): Suppress the call to
> gfc_conv_intrinsic_to_class for unlimited polymorphic procedure
> pointers.
> (gfc_trans_assignment_1): Similarly suppress class assignment
> for class valued procedure pointers.
>
> gcc/testsuite/
> PR fortran/93924
> PR fortran/93925
> * gfortran.dg/proc_ptr_52.f90 : New test.
-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany
Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter


More information about the Fortran mailing list