https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106120
Rainer Orth <ro at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ro at gcc dot gnu.org --- Comment #10 from Rainer Orth <ro at gcc dot gnu.org> --- Since 20230106, this test produces an XPASS, according to gcc-testresults postings this happens everywhere: +XPASS: g++.dg/warn/Wstringop-overflow-4.C -std=gnu++98 pr106120 (test for bogus messages, line 144) The corresponding line is T (S (2), new int16_t[r_imin_imax + 1]); // { dg-bogus "into a region of size" "pr106120" { xfail { c++98_only } } } I think that xfail should just be removed?