﻿id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc
150	Incorrect Scoping when using continue	Thierry Delisle	Thierry Delisle <tdelisle@…>	"CFA code :
{{{
int main() {
	for(4) {
		if(true) continue;
		int num = 0;
	}
}
}}}

This should compile normally but results in an error claiming the continue jumps into a scope where num exists but was not initialized.

The reason is that the code is rewritten as :
{{{
int main(){
    for (4) {
        if (true) goto __loopContinue;
        int num = 0;
        __loopContinue: __attribute__ ((unused));
    }
}
}}}

It should probably be :
{{{
int main(){
    for (4) {
        {
            if (true) goto __loopContinue;
            int num = 0;
        }
        __loopContinue: __attribute__ ((unused));
    }
}
}}}"	defect	closed	minor	cfa-cc	1.0	fixed		
