How to proceed with ICE?
"Øivind"
oivind.loe at gmail.com
Sun Mar 24 09:01:13 PDT 2013
After moving to 2.062, I get the following ICE:
src/boss/core/addr.d(23): Error: Internal Compiler Error: CTFE
literal cast(uint)PROC_INVALID
dmd: ctfeexpr.c:353: Expression* copyLiteral(Expression*):
Assertion `0' failed.
Aborted (core dumped)
The line it fails on is here, but I have not managed to get a
reduced testcase to fail yet..
struct Addr {
alias uint tProcId;
alias uint tNodeId;
const PROC_INVALID = 0;
const NODE_SELF = 0;
tProcId m_procId = PROC_INVALID; // << This is the line
tNodeId m_nodeId = NODE_SELF;
....
}
More information about the Digitalmars-d
mailing list