https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84727
--- Comment #1 from Romain Geissler <romain.geissler at amadeus dot com> --- Mmmh on Godbolt it seems to work with the gcc from today: https://godbolt.org/g/91wxk7 So it's has been most likely fixed in the meantime.