https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95871
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2023-01-19 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. What is interesting is that the duplicated message is not there for -std=c++98 .