]> gcc.gnu.org Git - gcc.git/commit
Fortran: Fix ICE due to elemental procedure pointers [PR93924/5].
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 27 Jan 2021 11:34:02 +0000 (11:34 +0000)
committerHarald Anlauf <anlauf@gmx.de>
Mon, 6 Sep 2021 18:42:00 +0000 (20:42 +0200)
commit49cefbec30499da06f90912090bcc5eabdfefa32
tree3a0b514d10183bece77a2db70000fb023e9a4d32
parent5bfb794ae1bef72e251b5aa7274e79b3034bb1bc
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.

(cherry picked from commit 4225af228b5d52e8d7593dea49584c91b4bc2e1f)
gcc/fortran/trans-expr.c
gcc/testsuite/gfortran.dg/proc_ptr_52.f90 [new file with mode: 0644]
This page took 0.063092 seconds and 6 git commands to generate.