https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98465
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Bogus warning |[11 Regression] Bogus
|stringop-overread wuth |-Wstringop-overread with
|-std=gnu++20 -O2 and |-std=gnu++20 -O2 and
|std::string::insert |std::string::insert
--- Comment #17 from Martin Sebor <msebor at gcc dot gnu.org> ---
Emitting the warning even with -Wno-system-headers is technically a regression.