[Bug fortran/100029] ICE on subroutine call with allocatable polymorphic assumed-rank argument
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Oct 1 18:10:32 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100029
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:5299155bb80e90df822e1eebc9f9a0c8e4505a46
commit r13-3014-g5299155bb80e90df822e1eebc9f9a0c8e4505a46
Author: José Rui Faustino de Sousa <jrfsousa@gmail.com>
Date: Sun Sep 25 22:48:55 2022 +0200
Fortran: Fix ICE and wrong code for assumed-rank arrays [PR100029,
PR100040]
gcc/fortran/ChangeLog:
PR fortran/100040
PR fortran/100029
* trans-expr.cc (gfc_conv_class_to_class): Add code to have
assumed-rank arrays recognized as full arrays and fix the type
of the array assignment.
(gfc_conv_procedure_call): Change order of code blocks such that
the free of ALLOCATABLE dummy arguments with INTENT(OUT) occurs
first.
gcc/testsuite/ChangeLog:
PR fortran/100029
* gfortran.dg/PR100029.f90: New test.
PR fortran/100040
* gfortran.dg/PR100040.f90: New test.
More information about the Gcc-bugs
mailing list