[Issue 7043] New: CTFE: ICE illegal reference value 0LU

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 1 07:49:06 PST 2011


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

           Summary: CTFE: ICE illegal reference value 0LU
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: mrmocool at gmx.de


--- Comment #0 from Trass3r <mrmocool at gmx.de> 2011-12-01 07:48:01 PST ---
import std.conv;
string demangleZSymbols(string sym)
{
        char[] res;
            try
                auto len = parse!uint(sym);
            catch (Exception e)
                sym = null;
        return cast(immutable) res;
}
pragma(msg, demangleZSymbols("8serenity9persister6Sqlite7__arrayZ"));

$ dmd -c -release -O -inline treemapgen.d
std/array.d(467): Error: CTFE internal error: illegal reference value 0LU

dmd: interpret.c:6244: void VarDeclaration::createRefValue(Expression*):
Assertion `IsRefValueValid(newval)' failed.

-- 
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