https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85669
--- Comment #53 from Iain Sandoe <iains at gcc dot gnu.org> --- (In reply to Wilco from comment #52) > (In reply to Segher Boessenkool from comment #50) > > The generic code rounded up the allocation size twice, and that isn't > > needed. > > > > The problem has been solved for other targets before; a patch for Darwin is > > at https://gcc.gnu.org/ml/gcc-testresults/2017-01/msg02971.html , patch > > 0001. > > Yes that looks correct indeed. No idea why it wasn't committed... long story to do with water coming through the office ceiling, relocation to a place without a PPC machine available and then someone claiming that they had bootstrap OK without that patch (which surprised me). I will try to check the situation on 8.2.1 + back ports from trunk over the weekend. if that patch is still good then we should be able to get it into trunk and 8/7 as needed it's entirely Darwin-local