]> gcc.gnu.org Git - gcc.git/commit
Fortran: Fix ICE with automatic reallocation [PR100245]
authorJosé Rui Faustino de Sousa <jrfsousa@gmail.com>
Fri, 2 Sep 2022 19:35:22 +0000 (21:35 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Fri, 16 Sep 2022 19:02:13 +0000 (21:02 +0200)
commit9035eaaf028ca609660f1f55c0d9f22fb7d3b797
treee7c30306190e662eb635c56679b8383123decd54
parent05cfd7b0677502d06a50ea6ff05d4445e194e3b9
Fortran: Fix ICE with automatic reallocation [PR100245]

gcc/fortran/ChangeLog:

PR fortran/100245
* trans-expr.cc (trans_class_assignment): Add if clause to handle
derived type in the LHS.

gcc/testsuite/ChangeLog:

PR fortran/100245
* gfortran.dg/PR100245.f90: New test.

(cherry picked from commit 504424f33771be0405454e7845219d5df1bb88bb)
gcc/fortran/trans-expr.cc
gcc/testsuite/gfortran.dg/PR100245.f90 [new file with mode: 0644]
This page took 0.063168 seconds and 5 git commands to generate.