https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116706
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:f017297cc338b3db6827408574e7943d5a09b3de commit r13-9451-gf017297cc338b3db6827408574e7943d5a09b3de Author: Harald Anlauf <anl...@gmx.de> Date: Wed Mar 19 22:56:03 2025 +0100 Fortran: fix bogus bounds check for reallocation on assignment [PR116706] PR fortran/116706 gcc/fortran/ChangeLog: * trans-array.cc (gfc_is_reallocatable_lhs): Fix check on allocatable components of derived type or class objects. gcc/testsuite/ChangeLog: * gfortran.dg/bounds_check_27.f90: New test. (cherry picked from commit 3292ca9b0818c3e55102413c2407711d0755d280)