[Bug c++/115125] [-Wstringop-overflow=] with O2/O3 - false positive?

2024-05-16 Thread oknenavin at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115125 --- Comment #1 from Nikolai Ivanenko --- Forgot to mention that the the code commented out in main compiles without warnings.

[Bug c++/115125] New: [-Wstringop-overflow=] with O2/O3 - false positive?

2024-05-16 Thread oknenavin at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115125 Bug ID: 115125 Summary: [-Wstringop-overflow=] with O2/O3 - false positive? Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo