[Bug libstdc++/116494] std::string::replace uses memcpy incorrectly and warns about it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116494 --- Comment #2 from Архипов Дмитрий --- Ah, so it warns that if that branch would have been taken, it would cause a problem, but it doesn't actually take the branch. So it's just a false positive warning?
[Bug libstdc++/116494] New: std::string::replace uses memcpy incorrectly and warns about it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116494 Bug ID: 116494 Summary: std::string::replace uses memcpy incorrectly and warns about it Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal