[Issue 8521] Internal error: e2ir.c 720 when a function uses a template which relies on that function and -release and -inline are used

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 21 15:05:35 PDT 2012


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



--- Comment #5 from Rainer Schuetze <r.sagitario at gmx.de> 2012-08-21 15:05:28 PDT ---
It seems that dmd is unable to generate code for the expression

    return str[index] < codeUnitLimit!S ? str[index++] : decodeImpl!true(str,
index);

This workaround compiled for me:

    if(str[index] < codeUnitLimit!S)
        return str[index++];
    return decodeImpl!true(str, index);

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