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'm with you up to this point ...
>
> Great! :-)
>
>> > which is then sent twice to the DWARF-2 back-end.
>>
>> but I don't see why this follows.  Can you explain?
>
> Sure.  The functions are assembled in the order c,a,b so the
> definition tree of 'c' is sent to the DWARF-2 back-end from 'c'.

Yeah...

> Then the definition tree of 'c' is resent to the back-end from 'a'
> when the declaration of 'c' is seen

I don't see why this happens - you are saying that it is the *same*
tree that was already sent from the compilation of 'c', so the
front-end should recognize that it doesn't have to be done again.

zw


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