[Bug c/107890] UB on integer overflow impacts code flow

2022-11-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107890 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c/107890] UB on integer overflow impacts code flow

2022-11-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107890 --- Comment #4 from Andrew Pinski --- There is always a trade off here. We made the decision that signed integer overflow is undefined because we want to do optimizations. Gcc does provide an option which makes them behave well defined at

[Bug c/107890] UB on integer overflow impacts code flow

2022-11-27 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107890 Martin Uecker changed: What|Removed |Added CC||muecker at gwdg dot de --- Comment #3

[Bug c/107890] UB on integer overflow impacts code flow

2022-11-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107890 --- Comment #2 from Jonathan Wakely --- You should read https://blog.regehr.org/archives/213

[Bug c/107890] UB on integer overflow impacts code flow

2022-11-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107890 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED