https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92123
--- Comment #10 from Paul Thomas <pault at gcc dot gnu.org> --- Created attachment 47261 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47261&action=edit A better fix Hi Jakub and Tobias, It turns out that the TREE_STATIC is only required for the gfc descriptor and not the pointers. Is this OK? Cheers Paul