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


bearophile_h...@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_h...@eml.cc


--- Comment #1 from bearophile_h...@eml.cc 2010-12-01 12:47:01 PST ---
Reduced a little:


import core.stdc.stdio: printf;
void foo(int) {}
void main() {
    int count;
    for (int i = 0; i < 2; i++) {
        count++;
        foo(i * 5 - 6); // comment this out and it makes 2 loops
    }
    printf("%d\n", count); // compile with -O and it prints 1
}

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

Reply via email to