https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103391
--- Comment #15 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:c6b2a359d348e2255cbf5b548540ecd8a5fa5a59 commit r14-11394-gc6b2a359d348e2255cbf5b548540ecd8a5fa5a59 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)