Thread overview
[Issue 7667] New: ICE(interpret.c): Assertion failure: 'ctfeStack.stackPointer() == 0'
Mar 07, 2012
Nick Sabalausky
Mar 10, 2012
Walter Bright
March 07, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7667

           Summary: ICE(interpret.c): Assertion failure:
                    'ctfeStack.stackPointer() == 0'
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: cbkbbejeap@mailinator.com


--- Comment #0 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2012-03-07 15:08:39 PST ---
-------------------------------------------
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'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 10, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7667



--- Comment #1 from github-bugzilla@puremagic.com 2012-03-09 21:40:55 PST ---
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'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 10, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7667



--- Comment #2 from github-bugzilla@puremagic.com 2012-03-09 22:12:17 PST ---
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'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 10, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7667


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------