[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 00:34:10 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8521
Rainer Schuetze <r.sagitario at gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |r.sagitario at gmx.de
--- Comment #3 from Rainer Schuetze <r.sagitario at 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: -------
More information about the Digitalmars-d-bugs
mailing list