Bug 16545 – Runtime crash when trying to append big int value to string

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2016-09-26T18:36:00Z
Last change time
2017-07-05T20:57:43Z
Assigned to
nobody
Creator
skocznymr

Comments

Comment #0 by skocznymr — 2016-09-26T18:36:54Z
Found on DMD32 D Compiler v2.070.2. According to IRC, reproduces on git HEAD too. The following code: void main() { string s; uint x = 123424121; s ~= x; } crashes at runtime with error: object.Error@(0): assert(0) or HLT instruction
Comment #1 by dlang-bugzilla — 2017-07-05T20:57:43Z
*** This issue has been marked as a duplicate of issue 5995 ***