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

--- Comment #33 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Mikael Morin <[email protected]>:

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

commit r17-4254-gc38e70f31f1767d13c11cfc97fbcc28d0a6c66ff
Author: Mikael Morin <[email protected]>
Date:   Tue Sep 15 11:28:46 2026 +0200

    fortran: array descriptor: Move scalar descriptor type creation [PR122521]

    In the next patch, a chunk of code using get_scalar_to_descriptor_type will
    be moved to trans-descriptor.cc, requiring the function to be visible
    outside of trans-expr.cc.  Make it public now and move it to
trans-types.cc.

            PR fortran/122521

    gcc/fortran/ChangeLog:

            * trans-types.h (gfc_get_scalar_to_descriptor_type): New
            declaration.
            * trans-types.cc (gfc_get_scalar_to_descriptor_type): New
            function, moved from ...
            * trans-expr.cc (get_scalar_to_descriptor_type): ... here.
            (gfc_conv_scalar_to_descriptor, gfc_conv_derived_to_class,
            gfc_conv_class_to_class): Update function name in callers.

Reply via email to