https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 45158 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45158&action=edit gcc9-pr88304.patch Untested fix for the tree-nested.c bug, handles it like we handle it in convert_local_reference_stmt.