https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122521
--- Comment #45 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:63045ebf9ebd940dbbb9cab2f0c37001f095d363 commit r17-6980-g63045ebf9ebd940dbbb9cab2f0c37001f095d363 Author: Mikael Morin <[email protected]> Date: Tue Dec 1 11:54:57 2026 +0100 fortran: array descriptor: Factor scalar descriptor init 2/2 [PR122521] The static function set_descriptor_from_scalar is already used as implementation detail by two of the three scalar descriptor initialization functions. Use it as well in the third one. PR fortran/122521 gcc/fortran/ChangeLog: * trans-descriptor.cc (gfc_set_descriptor_from_scalar): Replace inline code with call to set_descriptor_from_scalar.
