https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115750
--- Comment #3 from Sam James <sjames at gcc dot gnu.org> --- I confirmed that a revert of that commit on trunk lets it build, too. I'll dig more later, it's a bit too hot to have the machine on today.