www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7189] New: inline failed

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7189

           Summary: inline failed
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: soarowl yeah.net



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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 31 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7189


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla digitalmars.com



18:22:33 PST ---
Curiously, it's the -noboundscheck that's the trigger. Hmmm.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 31 2011
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7189


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



21:33:01 PST ---
https://github.com/D-Programming-Language/dmd/commit/f237d7cc8a06371432c5bd1a3e343069184222c5

https://github.com/D-Programming-Language/dmd/commit/227769c47847fd577d423469c656e7a72246553c

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 31 2011