https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97094
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Can you try to specify an explicit -std=c++xy?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97094
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Can you try to specify an explicit -std=c++xy?