← Back to index
|
Original Bugzilla link
Bug 13959 – ICE in e2ir when casting struct to pointer
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-01-09T19:09:00Z
Last change time
2015-02-18T03:42:34Z
Keywords
ice, pull
Assigned to
nobody
Creator
schveiguy
Comments
Comment #0
by schveiguy — 2015-01-09T19:09:09Z
struct S { void* p; } void main() { S s; auto a = cast(void*)s; //Error: e2ir: cannot cast s of type S to type void* }
Comment #1
by k.hara.pg — 2015-01-12T14:46:06Z
https://github.com/D-Programming-Language/dmd/pull/4285
Comment #2
by github-bugzilla — 2015-01-14T21:17:11Z
Commit pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/a5f03074bbcc9f315820ff68e2e4d84dddcdfd5a
fix Issue 13959 - ICE in e2ir when casting struct to pointer
Comment #3
by github-bugzilla — 2015-02-18T03:42:34Z
Commit pushed to 2.067 at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/a5f03074bbcc9f315820ff68e2e4d84dddcdfd5a
fix Issue 13959 - ICE in e2ir when casting struct to pointer