Bug 9366 – D1: Appending a value cast to void to a void[] crashes DMD.

Status
RESOLVED
Resolution
WONTFIX
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
All
OS
All
Creation time
2013-01-21T20:55:00Z
Last change time
2013-11-24T20:04:07Z
Keywords
ice, pull
Assigned to
yebblies
Creator
b.helyer

Comments

Comment #0 by b.helyer — 2013-01-21T20:55:14Z
void main() { void[] a; a = a ~ cast(void) 42; } ICE on invalid, obviously.
Comment #1 by yebblies — 2013-01-21T22:09:08Z
Comment #2 by github-bugzilla — 2013-01-22T01:12:06Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/8e8dfac30bbda7c38f9048e20e673ce80e9c9a62 Fix Issue 9366 - Appending a value cast to void to a void[] crashes DMD https://github.com/D-Programming-Language/dmd/commit/b42635616d31c71555cc6a68bdc06650060c9b58 Merge pull request #1532 from yebblies/issue9366 Fix Issue 9366 - Appending a value cast to void to a void[] crashes DMD
Comment #3 by yebblies — 2013-01-22T03:01:59Z
Fixed for D2
Comment #4 by mailnew4ster — 2013-11-16T02:09:39Z
This, as well as 11 other ICE reports, are D1 only. Should these be closed, as D1 is not supported anymore?
Comment #5 by k.hara.pg — 2013-11-24T20:04:07Z
D1 is not supported anymore.