https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92065
--- Comment #23 from Ev Drikos <drikosev at gmail dot com> --- Created attachment 49841 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49841&action=edit Test Cases Only Hello, I'm wondering whether a quick and dirty hack that would keep derived type data per class array declaration could work, coarrays are excluded at the moment (I know nothing about). The attached file contains only test cases for this PR. The first of them demonstrates what the hack could do. Let's see the vtab names: current vtab name: __class_m_T_1_0a hacked vtab name: __class_m_T_1_0a_b.sub2.m Where 'b' is a class array of type 'T' in the subroutine 'sub2', which in turn is in module 'm'.