This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix PR debug/14114
Eric Botcazou <email@example.com> 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'.
> 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.