https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122521
--- Comment #36 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:0fb68e42be84a4eb7036fd778457f3d1301ceb90 commit r17-4257-g0fb68e42be84a4eb7036fd778457f3d1301ceb90 Author: Mikael Morin <[email protected]> Date: Tue Sep 15 11:28:57 2026 +0200 fortran: array descriptor: Move scalar descriptor init 2/3 [PR122521] The function gfc_conv_derived_to_class contains code initializing an array descriptor representing 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_derived_to_class): Move scalar descriptor initialization code ... * trans-descriptor.cc (gfc_set_descriptor_from_scalar): ... here as a new function. * trans-descriptor.h (gfc_set_descriptor_from_scalar): New declaration.
