[Bug c/103111] New: bogus stringop overflow warning

2021-11-06 Thread k.melekhin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103111 Bug ID: 103111 Summary: bogus stringop overflow warning Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c As

[Bug c/103103] Incorrect integer optimization omits x < 0 comparison

2021-11-05 Thread k.melekhin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103103 --- Comment #3 from Kyryl Melekhin --- Thank you! I figured that this has something to do with being UB behavior with int overflow, however it's strange to find this kind of bug only on 1 compiler, with no possible warnings or idications that s

[Bug c/103103] New: Incorrect integer optimization omits x < 0 comparison

2021-11-05 Thread k.melekhin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103103 Bug ID: 103103 Summary: Incorrect integer optimization omits x < 0 comparison Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Com