https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103391
--- Comment #16 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:6c1684e124fc527c5ffd7dc4e829b07b8e307fbb commit r13-9734-g6c1684e124fc527c5ffd7dc4e829b07b8e307fbb Author: Andre Vehreschild <ve...@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. (cherry picked from commit 04909c7ecc023874c3444b85f88c60b7b7cc7778)