[PATCH] Fix PR debug/14114

Zack Weinberg zack@codesourcery.com
Wed Mar 3 20:45:00 GMT 2004


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



More information about the Gcc-patches mailing list