This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix PR debug/14114 [DWARF2 guru needed]
On Thu, 04 Mar 2004 16:23:00 -0800, Zack Weinberg <firstname.lastname@example.org> wrote:
> Eric Botcazou <email@example.com> writes:
>>> If the C front end didn't contain a broken data structure, it wouldn't
>>> be passing the same tree twice, yes. But the brokenness of that data
>>> structure is *unrelated* to the basic design question of whose
>>> responsibility it is to keep track of whether debug information has
>>> already been generated for a given tree.
>> I think it's the front-end responsability, you think it's the back-end
>> responsability. Let's have a third opinion. OK?
> Yes, by all means. Would one of the DWARF2 gurus like to comment?
I think it's appropriate to expect that a single decl only be passed to
dwarf2out_decl once in a compilation. That's certainly been the
convention, modulo this bug.