I use head version of DMD to compile my little app https://bitbucket.org/soarowl/passgen/src/4e1aaaaedb56/passgen.d with following parameters:
dmd -inline -noboundscheck -nofloat -J. -O -release passgen.d
but have following errors:
Statement::doInline()
for (uint __limit1355 = pos;
uint i = oldLength;
i-- > __limit1355;)
{
move(array[i],array[i + delta]);
}
Assertion failure: '0' on line 500 in file 'inline.c'
abnormal program termination
Comment #1 by bugzilla — 2011-12-31T18:22:33Z
Curiously, it's the -noboundscheck that's the trigger. Hmmm.