This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix PR debug/14114
> Then why is debug info generated for block scope function
> declarations? *That* sounds like it might be the real bug.
The tree is referenced within a function, so it is processed by the
back-end when debug info is generated for the function. Then
gen_subprogram_decl decides what to do with it.
So you think it is normal for the C front-end to consider that the
declaration of 'c' from 'b' shadows that from 'a'?