https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64040
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- Strange. Maybe some number is overflowing and trying to allocate a huge number of bytes. I'll try to look into it but not for a few days.