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

--- Comment #34 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:56cd722b9352ce51ffab639b54e0781bdb3436b5

commit r17-4255-g56cd722b9352ce51ffab639b54e0781bdb3436b5
Author: Mikael Morin <[email protected]>
Date:   Tue Sep 15 11:28:50 2026 +0200

    fortran: array descriptor: Move scalar descriptor init 1/3 [PR122521]

    The function gfc_conv_class_to_class has some specific code to initialize
an
    array descriptor when it represents a scalar value.  Move that code to its
    own function in trans-descriptor.cc.

            PR fortran/122521

    gcc/fortran/ChangeLog:

            * trans-expr.cc (gfc_conv_class_to_class): Move descriptor
            initialization...
            * trans-descriptor.cc (gfc_set_descriptor_from_scalar_class):
            ... here as a new function.
            * trans-descriptor.h (gfc_set_descriptor_from_scalar_class): New
            declaration.

Reply via email to