http://d.puremagic.com/issues/show_bug.cgi?id=8376

           Summary: 64 bit codegen bug involving dynamically indexed
                    static array and continue statement
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: timon.g...@gmx.ch


--- Comment #0 from timon.g...@gmx.ch 2012-07-10 20:19:02 PDT ---
DMD 2.059
void main() {
    int i = 0;
    int[2] a;
    a[1]=1;
    while(!a[0]){
        if(a[i]) continue;
        a[i] = 1;
    }
}

The code terminates with -m32 and enters an infinite loop with -m64.
No other flags are necessary to reproduce.

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

Reply via email to