[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 #7 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Paul Thomas <[email protected]>:

https://gcc.gnu.org/g:d57996b84cb21104ef58d5dac9455f34fa5ad818

commit r14-12803-gd57996b84cb21104ef58d5dac9455f34fa5ad818
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.