[Bug fortran/103391] [12/13/14/15 Regression] ICE: gimplification failed since r7-4021-g574284e9c49687d8

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 4 15:14:24 GMT 2025


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

--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andre Vehreschild <vehre@gcc.gnu.org>:

https://gcc.gnu.org/g:04909c7ecc023874c3444b85f88c60b7b7cc7778

commit r15-7812-g04909c7ecc023874c3444b85f88c60b7b7cc7778
Author: Andre Vehreschild <vehre@gcc.gnu.org>
Date:   Tue Mar 4 12:56:20 2025 +0100

    Fortran: Fix gimplification error on assignment to pointer [PR103391]

            PR fortran/103391

    gcc/fortran/ChangeLog:

            * trans-expr.cc (gfc_trans_assignment_1): Do not use poly assign
            for pointer arrays on lhs (as it is done for allocatables
            already).

    gcc/testsuite/ChangeLog:

            * gfortran.dg/assign_12.f90: New test.


More information about the Gcc-bugs mailing list