← Back to index
|
Original Bugzilla link
Bug 3169 – Segfault(cast.c) dividing ulong by int
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2009-07-13T02:26:00Z
Last change time
2015-06-09T01:28:08Z
Keywords
ice-on-valid-code
Assigned to
nobody
Creator
dfj1esp02
Comments
Comment #0
by dfj1esp02 — 2009-07-13T02:26:55Z
void main() { ulong num1=100; int num2=10; int result=num1/num2; }
Comment #1
by clugdbug — 2009-07-20T00:35:25Z
This is crashing with a div-by-zero error when calling getIntRange().
Comment #2
by clugdbug — 2009-07-20T00:37:38Z
*** Issue 3172 has been marked as a duplicate of this issue. ***
Comment #3
by dfj1esp02 — 2009-07-27T03:02:36Z
div-by-zero isn't a segfault :)
Comment #4
by bugzilla — 2009-09-03T13:41:11Z
Fixed dmd 2.032