[Bug fortran/100245] ICE on automatic reallocation

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 16 19:06:32 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100245

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:

https://gcc.gnu.org/g:9035eaaf028ca609660f1f55c0d9f22fb7d3b797

commit r12-8768-g9035eaaf028ca609660f1f55c0d9f22fb7d3b797
Author: José Rui Faustino de Sousa <jrfsousa@gmail.com>
Date:   Fri Sep 2 21:35:22 2022 +0200

    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)


More information about the Gcc-bugs mailing list