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
Comment #2 by k.hara.pg — 2015-10-20T02:13:50Z
Comment #3 by github-bugzilla — 2015-10-22T11:53:20Z
Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/371fe97fb740893e2d8c52c7b09183b44d6f3b46 fix Issue 15214 - ICE in Mangler::mangleFunc https://github.com/D-Programming-Language/dmd/commit/0e79ca0c64a842a9fc6a2385e5e2e90b3c8b0822 Merge pull request #5205 from 9rnsr/fix15214 [REG2.065.0] Issue 15214 - ICE in Mangler::mangleFunc
Comment #4 by github-bugzilla — 2015-10-23T01:56:54Z