https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65548
--- Comment #16 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > That patch is relative to current trunk, meaning 6.0. I think it should not matter: the patch should apply on 5.0.1 or 6.0. Applied on a patched 6.0 tree it works as advertised.