> -----Original Message----- > From: Joseph Myers [mailto:jos...@codesourcery.com] > Sent: Thursday, May 08, 2014 8:27 PM > To: Herman, Andrei > Cc: gcc-patches@gcc.gnu.org > Subject: RE: [PATCH GCC]Add 'force-dwarf-lexical-blocks' command line > option > > 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?
I will think about it if you think it's critical. > > 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. I will definitely run the complete testsuites without and with the option enabled. > > -- > Joseph S. Myers > jos...@codesourcery.com Thanks and regards, Andrei Herman Mentor Graphics Corporation Israel branch