[Bug c/102661] signed integer overflow not detected in comparison since gcc-8

2021-10-09 Thread lrspam at sfr dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102661 --- Comment #3 from lrspam at sfr dot fr --- Thank you Andrew for you answer. I will therefore use -fwrapv, in order to implement overflow detection the same way I did with gcc 7.

[Bug c/102661] signed integer overflow not detected in comparison since gcc-8

2021-10-09 Thread lrspam at sfr dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102661 lrspam at sfr dot fr changed: What|Removed |Added Version|9.3.0 |8.4.0 --- Comment #1 from lrspam

[Bug c/102661] New: signed integer overflow not detected in comparison since gcc-8

2021-10-09 Thread lrspam at sfr dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102661 Bug ID: 102661 Summary: signed integer overflow not detected in comparison since gcc-8 Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal