]> gcc.gnu.org Git - gcc.git/commit
Fortran: fix passing return value to class(*) dummy argument
authorHarald Anlauf <anlauf@gmx.de>
Sun, 23 May 2021 18:51:14 +0000 (20:51 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Tue, 25 May 2021 20:11:38 +0000 (22:11 +0200)
commitde55a48960d2f08266cba1222e233507015dd620
treec85681c84bc68beb0d9ba716d1e2656565e436c8
parent6be2c12e37b167890d68587086a2186358b64c02
Fortran: fix passing return value to class(*) dummy argument

gcc/fortran/ChangeLog:

PR fortran/100551
* trans-expr.c (gfc_conv_procedure_call): Adjust check for
implicit conversion of actual argument to an unlimited polymorphic
procedure argument.

gcc/testsuite/ChangeLog:

PR fortran/100551
* gfortran.dg/pr100551.f90: New test.

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