https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114388
--- Comment #3 from Jiang An <de34 at live dot cn> --- (In reply to Richard Biener from comment #2) > So you say GCC 9+ are wrong with -std=c++98 but OK with -std=c++11 or newer > (the default)? Yes.