https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122521
--- Comment #28 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:6551d044cdfd09474b4429678847e268b11e3510 commit r17-3733-g6551d044cdfd09474b4429678847e268b11e3510 Author: Mikael Morin <[email protected]> Date: Fri Aug 28 10:28:11 2026 +0200 fortran: array descriptor: Move absent descriptor initialization [PR122521] Absent assumed shape arguments are represented by array descriptors whose data pointer field is initialized to null. Move the code generating that initialization to its own function in trans-descriptor.cc. PR fortran/122521 gcc/fortran/ChangeLog: * trans-expr.cc (gfc_conv_derived_to_class): Move absent array descriptor initialization ... * trans-descriptor.cc (gfc_init_absent_descriptor): ... here as a new function. * trans-descriptor.h (gfc_init_absent_descriptor): New declaration.
