https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98465

--- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> ---
Adding #pragma GCC diagnostic ignore "-Wstringop-overread" to
string::_M_replace(size_type, size_type, const _CharT*, const size_type)
doesn't suppress the warning, either on trunk, or (with "-Wstringop-overflow"
because GCC 10 doesn't have -Wstringop-overread) for GCC 10.

Reply via email to