Bug 7189 – inline failed

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-12-31T03:46:00Z
Last change time
2011-12-31T21:33:01Z
Assigned to
nobody
Creator
soarowl

Comments

Comment #0 by soarowl — 2011-12-31T03:46:32Z
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.
Comment #2 by bugzilla — 2011-12-31T21:33:01Z