D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 7189 - inline failed
Summary: inline failed
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Windows
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-31 03:46 UTC by soarowl
Modified: 2011-12-31 21:33 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description soarowl 2011-12-31 03:46:32 UTC
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 Walter Bright 2011-12-31 18:22:33 UTC
Curiously, it's the -noboundscheck that's the trigger. Hmmm.