diff options
author | José Rui Faustino de Sousa <jrfsousa@gmail.com> | 2022-09-25 22:48:55 +0200 |
---|---|---|
committer | Harald Anlauf <anlauf@gmx.de> | 2022-10-01 20:09:08 +0200 |
commit | 5299155bb80e90df822e1eebc9f9a0c8e4505a46 (patch) | |
tree | 8a5043229342b4328d80a93424c8463576a4afae /libgcc | |
parent | c051060ade8a4392bbd4604a551a8dcb8c937f45 (diff) | |
download | gcc-5299155bb80e90df822e1eebc9f9a0c8e4505a46.zip gcc-5299155bb80e90df822e1eebc9f9a0c8e4505a46.tar.gz gcc-5299155bb80e90df822e1eebc9f9a0c8e4505a46.tar.bz2 |
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.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions