[Issue 6510] [CTFE] internal error: illegal stack value stack

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 16 19:32:57 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6510


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug at yahoo.com.au


--- Comment #1 from Don <clugdbug at yahoo.com.au> 2011-08-16 19:32:55 PDT ---
(In reply to comment #0)
> Recently found this one in my GSOC project. As this involves compilation of
> regex at CTFE, I'm not yet able to produce small test case.
> 
> dmd spits this:
> ..\..\fred.d(2020): Error: CTFE internal error: illegal stack value stack
> 
> Assertion failure: 'isStackValueValid(newval)' on line 5452 in file
> 'interpret.c'
> 
> abnormal program termination
> 
> But anyway, what kind of situation is supposed to trigger that assert?

Any kind of CTFE assignment involving a non-reference type, that wasn't tested.
The few lines involving the variable 'stack' around line 2020 will be the only
ones involved in the bug.

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


More information about the Digitalmars-d-bugs mailing list