This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR debug/14114
Eric Botcazou <ebotcazou@libertysurf.fr> writes:
>> I don't know, honestly, but consider that the same problem does not
>> occur for
>>
>> void c();
>>
>> void c() { ... }
>
> Of course, since there is no debug info generated for global scope function
> declarations, see rest_of_compilation_decl.
Then why is debug info generated for block scope function
declarations? *That* sounds like it might be the real bug.
zw