Bug 7667 – ICE(interpret.c): Assertion failure: 'ctfeStack.stackPointer() == 0'

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-03-07T15:08:00Z
Last change time
2012-03-09T22:12:28Z
Keywords
ice
Assigned to
nobody
Creator
bus_dbugzilla

Comments

Comment #0 by bus_dbugzilla — 2012-03-07T15:08:39Z
------------------------------------------- string bar(int[] vars...) { return ""; } class C { this() { mixin(bar()); } } bool foo() { auto x = new C(); return true; } enum x = foo; ------------------------------------------- >dmd test.d Assertion failure: 'ctfeStack.stackPointer() == 0' on line 4823 in file 'interpret.c'
Comment #1 by github-bugzilla — 2012-03-09T21:40:55Z
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/fd41876b0ff7af5ef05c75be467e5d8a31d95d4e Merge pull request #792 from donc/bug7667 Fix issue 7667. ICE(interpret.c): 'ctfeStack.stackPointer() == 0'
Comment #2 by github-bugzilla — 2012-03-09T22:12:17Z
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/7eed75900a1e4b72c3d8ef3424039892ffe2961f Fix issue 7667. ICE(interpret.c): 'ctfeStack.stackPointer() == 0'