https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118059

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul Thomas <pa...@gcc.gnu.org>:

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

commit r15-6423-gd21efb65d15273d50ca80aea14787efa6245174c
Author: Paul Thomas <pa...@gcc.gnu.org>
Date:   Mon Dec 23 15:32:40 2024 +0000

    Fortran: Bugs found in class_transformational_1/2.f90[PR116254/118059].

    2024-12-23  Paul Thomas  <pa...@gcc.gnu.org>

    gcc/fortran/ChangeLog

            PR fortran/116254
            * trans-array.cc (gfc_trans_create_temp_array): Make sure that
            transformational intrinsics of class objects that change rank,
            most particularly spread, go through the correct code path. Re-
            factor so that changes to the dtype are done on the temporary
            before the class data of the result points to it.

            PR fortran/118059
            * trans-expr.cc (arrayfunc_assign_needs_temporary): Character
            array function expressions assigned to an unlimited polymorphic
            variable require a temporary.

Reply via email to