]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: Pass unlimited polymorphic argument to assumed type [PR103366].
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 10 Jan 2022 16:54:53 +0000 (16:54 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 10 Jan 2022 16:54:53 +0000 (16:54 +0000)
commit828474fafd2ed33430172fe227f9da7d6fb98723
tree1861573fa5e38dac971963f413f9f338940ce498
parent3159da6c46568a7c600f78fb3a3b76e2ea4bf4cc
Fortran: Pass unlimited polymorphic argument to assumed type [PR103366].

2022-01-10  Paul Thomas  <pault@gcc.gnu.org>

gcc/fortran
PR fortran/103366
* trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): Allow unlimited
polymorphic actual argument passed to assumed type formal.

gcc/testsuite/
PR fortran/103366
* gfortran.dg/pr103366.f90: New test.
gcc/fortran/trans-expr.c
gcc/testsuite/gfortran.dg/pr103366.f90 [new file with mode: 0644]