Bug 15214 – [REG2.065.0] ICE in Mangler::mangleFunc
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-10-17T08:44:00Z
Last change time
2015-10-23T01:56:54Z
Keywords
ice, pull
Assigned to
nobody
Creator
cauterite
Comments
Comment #0 by cauterite — 2015-10-17T08:44:33Z
Not much to say really:
http://dpaste.dzfl.pl/ea145fd8a4d3
Source:
void main() {
cast(void) x=>mixin(x)("mixin(x);");
};
Output:
[<filename>.d(2)] __lambda1 (x)
Assertion failure: '0' on line 384 in file 'mangle.c'
Tested on x86 and x64, DMD 2.068.2 and DMD 2.069
Comment #1 by dlang-bugzilla — 2015-10-18T00:56:23Z
In 2.064.2, this caused an error during semantic analysis:
test.d(2): Error: function has no effect in expression (__lambda1)
Since 2.065.0, this causes a segfault or ICE.
Introduced in https://github.com/D-Programming-Language/dmd/pull/2961