Bug 3172 – compile-time floating point exception when compiling this 4-line code.

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2009-07-13T12:28:00Z
Last change time
2015-06-09T01:28:05Z
Keywords
ice-on-invalid-code
Assigned to
nobody
Creator
ace17

Comments

Comment #0 by ace17 — 2009-07-13T12:28:24Z
void f(ushort b) { ulong a = 1; uint c = a / b; }
Comment #1 by clugdbug — 2009-07-20T00:37:38Z
This is the same as 3169, it is crashing in the same place for the same reason. *** This issue has been marked as a duplicate of issue 3169 ***