https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- (Although I have a simpler patch that does something similar, as well as allowing the arena size to be controlled form the environment).