[Issue 23147] Integer division may cause undefined behavior in @safe code

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23147 Iain Buclaw changed: What|Removed |Added Priority|P1 |P3 --

[Issue 23147] Integer division may cause undefined behavior in @safe code

2022-08-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23147 --- Comment #2 from Paul Backus --- Undefined behavior means that all bets are off and literally anything can happen, including memory corruption. Note that LDC at least optimizes code under the assumption that division by zero never happens, so thi

[Issue 23147] Integer division may cause undefined behavior in @safe code

2022-08-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23147 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #1 from Razv

[Issue 23147] Integer division may cause undefined behavior in @safe code

2022-05-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23147 Susan changed: What|Removed |Added CC||su+dlangissues@angel-island |

[Issue 23147] Integer division may cause undefined behavior in @safe code

2022-05-29 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=23147 Paul Backus changed: What|Removed |Added Keywords||safe --