https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63205
--- Comment #9 from Paul Thomas <pault at gcc dot gnu.org> --- Created attachment 34331 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34331&action=edit A yet more nearly final patch This patch still has some memory leakage issues... I think. There are also some peculiarities that need sorting out; most notably the chunk added to build_class_array_ref does not work more generally as I thought that it should. I would prefer to understand why and to implement it because it is so much cleaner than messing with the gfc_expr's. Anyway, it is getting there and I expect to complete it when I get home in the New Year. Back to presents and turkey! Happy holidays Paul