https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65039
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- I reproduced this with an out-of-date trunk build, but using today's trunk it compiles OK, so seems to be fixed.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65039
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- I reproduced this with an out-of-date trunk build, but using today's trunk it compiles OK, so seems to be fixed.