Bug 10106 – [ICE] Ice in glue.c:1215 + 2 error messages without lines
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-17T08:31:00Z
Last change time
2013-05-23T00:58:30Z
Keywords
diagnostic, ice, pull
Assigned to
nobody
Creator
dmitry.olsh
Comments
Comment #0 by dmitry.olsh — 2013-05-17T08:31:08Z
struct GcPolicy{ }
alias InversionList!GcPolicy CodepointSet;
struct InversionList(SP=GcPolicy)
{
Uint24Array!SP data;
}
struct Uint24Array(SP=GcPolicy)
{
this(this)
{
}
}
struct PropertyTable
{
CodepointSet[string] table;
}
This sample was obtained with dustmite.
Compiling the above with git HEAD dmd (both win32/linux) yields:
Error: mutable method gen_uni.InversionList!(GcPolicy).InversionList.__fieldPostBlit is not callable using a const object
Error: cannot modify struct this Slot with immutable members
Assertion failure: '0' on line 1215 in file 'glue.c'
abnormal program termination