https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66079
--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> --- Created attachment 36113 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36113&action=edit Patch for th 5 branch Before closing this PR, I checked and found that the 5 branch now leaks memory. The attached fixes the memory leak but does not fix the ICEs for which the tests have been commented out. There is already too much divergence in trans_allocate between 5 and 6 to do any more. What do you think about applying this patch, which bootstraps and regtests? Paul