https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99989
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Can't verify it the above commit fixes it though, so keeping the PR open until somebody confirms it (or attaches preprocessed source so that I could verify with cross-compiler).