[Bug middle-end/98465] [11 Regression] Bogus -Wstringop-overread with -std=gnu++20 -O2 and std::string::insert
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 20 23:20:57 GMT 2021
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.
More information about the Gcc-bugs
mailing list