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
Curiously, it's the -noboundscheck that's the trigger. Hmmm.
https://github.com/D-Programming-Language/dmd/commit/f237d7cc8a06371432c5bd1a3e343069184222c5 https://github.com/D-Programming-Language/dmd/commit/227769c47847fd577d423469c656e7a72246553c