https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122521
--- Comment #35 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:72e559d4229737724aa93388565177f72c51cbd4 commit r17-4256-g72e559d4229737724aa93388565177f72c51cbd4 Author: Mikael Morin <[email protected]> Date: Tue Sep 15 11:28:54 2026 +0200 fortran: array descriptor: Move coarray bounds copy [PR122521] In the next patch, a chunk of code using the function copy_coarray_desc_part 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-descriptor.cc. PR fortran/122521 gcc/fortran/ChangeLog: * trans-descriptor.h (gfc_copy_coarray_desc_part): New declaration. * trans-descriptor.cc (gfc_copy_coarray_desc_part): New function, moved from... * trans-expr.cc (copy_coarray_desc_part): ... here. (gfc_class_array_data_assign, gfc_conv_derived_to_class): Update function name in callers.
