Re: [RFA/stabs reader] Fix v3 duplicate constructors problem

Daniel Berlin
2001-12-03T21:22:20Z

On Mon, 3 Dec 2001, Daniel Jacobowitz wrote:

> I tracked down the annoying duplication of constructors using G++ 3.0 with
> stabs. The problem is that all the clones of the constructor are emitted,
> so there really are two of them.
>
Yes.
> The obvious thing to do to fix this in GCC (and I'd like it fixed in GCC)
> would seem to be checking DECL_ABSTRACT_ORIGIN like the Dwarf frontend does
> instead of DECL_ABSTRACT.
It *used* to do the right thing (IE after the v3 switch)
Which is to emit a single constructor name in the class, and emit the
clones outside the class debug info, with an abstract origin/specification
of the in the class die.

Does it not still do this?