[Bug fortran/125263] [14/15/16/17 Regression] Error with intrinsic assignment involving allocatable array of user-defined type that has an allocatable array component

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125263

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-16 branch has been updated by Paul Thomas <[email protected]>:

https://gcc.gnu.org/g:7f2626bd531984a2f964d70438cb2b09891b8ae1

commit r16-9516-g7f2626bd531984a2f964d70438cb2b09891b8ae1
Author: Paul Thomas <[email protected]>
Date:   Sat May 23 14:58:36 2026 +0100

    Fortran: Fix scalar class to derived select type entities. [PR125263]

    2026-05-23  Paul Thomas  <[email protected]>

    gcc/fortran
            PR fortran/125263
            * trans-expr.cc (gfc_trans_assignment_1): Pass scalar class to
            derived type assignment expressions to gfc_trans_scalar_assign.

    gcc/testsuite/
            PR fortran/125263
            * gfortran.dg/pr125263.f90: New test.

    (cherry picked from commit 6e1679ebd5e62dd63ee6c93df2514e0c08a2b674)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.