https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89345
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- I already started fixing this after your update to the phabricator update pinged me an email. I'm just going to make it conditional on __cplusplus > 201703L.