https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121199
--- Comment #2 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- It looks a bit like this was fixed in gcc-9. Based on https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88714#c19 I suspect this is just a dup of that.