On Wed, 11 Jan 2023, Jakub Jelinek via Gcc-patches wrote: > The following patch ensures we don't emit any such DEBUG_BEGIN_STMTs for the > K&R function parameter declarations even in nested functions. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? > > 2023-01-11 Jakub Jelinek <ja...@redhat.com> > > PR c/105972 > * c-parser.cc (c_parser_declaration_or_fndef): Disable debug non-bind > markers for K&R function parameter declarations of nested functions. > > * gcc.dg/pr105972.c: New test.
OK. -- Joseph S. Myers jos...@codesourcery.com