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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugd...@yahoo.com.au


--- Comment #1 from Don <clugd...@yahoo.com.au> 2012-07-09 01:28:00 PDT ---
Slightly reduced test case:

int bug7894()
{
    for (int k = 0; k < 2; ++k) {
        goto Lagain;
Lagain: ;
    }
    return 1;
}
static assert( bug7894() );

Actually the loop initializer isn't reinterpreted after each goto. What's
happening is that the increment is skipped.

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

Reply via email to