https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64164
--- Comment #48 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- The errors reported in comments 44, 45, 46, and 47 are fixed in the git branch aoliva/pr64164. I'm giving it all some more testing before posting an updated, consolidated patch.