[Bug fortran/100245] ICE on automatic reallocation

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Sep 24 19:01:07 GMT 2022


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

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

https://gcc.gnu.org/g:2e33da576bc08e78020bbb6642b70eccb108192b

commit r10-11001-g2e33da576bc08e78020bbb6642b70eccb108192b
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.c (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