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


Rainer Schuetze <r.sagita...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagita...@gmx.de


--- Comment #3 from Rainer Schuetze <r.sagita...@gmx.de> 2012-08-21 00:34:00 
PDT ---
I just hit this bug aswell, but your work-around does not seem to help. With
current head from github:

module test;
import std.utf;

dchar foo(string s)
{
    size_t pos;
    return decode(s, pos);
}


I get ICE with -inline:

>m:\s\d\rainers\windows\bin\dmd -c test.d

>m:\s\d\rainers\windows\bin\dmd -c -inline test.d
Statement::doInline()
goto __returnLabel;

Assertion failure: '0' on line 470 in file 'inline.c'

abnormal program termination

>m:\s\d\rainers\windows\bin\dmd -c -inline -release test.d
decodeImpl(bool canIndex,S) if (is(S : const(char[])) || isInputRange!(S) &&
is(Unqual!(ElementEncod
ingType!(S)) == char))
Internal error: e2ir.c 720

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

Reply via email to