https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103585
--- Comment #12 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Created attachment 52317 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52317&action=edit WIP patch This is patch I made while working on this problem. It improves the escape analysis of the first patch so it cooperates with PTA. However because fortran FE sort of lies about escapes in the presence of OpenMP I had to disable it for cases that are interesting for perdida. So I will look on it next stage 1.