This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]