On Thu, 8 May 2014, Herman, Andrei wrote: > The changes in gcc/c/c-decl.c are meant to deal with this problem. > Declarations > that would fall into the scope of a newly created label scope are moved into > the > enclosing "normal" (non label) scope, where they actually belong.
Shouldn't you be able to do something like that for the other cases as well, to avoid forcing C99 scoping rules? In any case, I think you need to run the complete "gcc" testsuite with this option enabled and compare with the results for a default testsuite run. -- Joseph S. Myers jos...@codesourcery.com