https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116706
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:de9500d93eed789bf7bc4a82b522edb6dd2b6202 commit r14-11448-gde9500d93eed789bf7bc4a82b522edb6dd2b6202 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)