c++/2814: dwarf2out problems when -g1 is combined with -fpic oni686-linux

Jeff Sturm jsturm@one-point.com
Sat Jun 16 08:11:00 GMT 2001


On 16 Jun 2001, Daniel Berlin wrote:
> So the actual wrong thing occurs when we put the subprogram as the
> child of the compile unit (in this case, anyway. It has no
> specification, etc that says "I'm really the real info about this
> function over here" pointing to the member function inside a class
> die)..

I reached a similar conclusion, though the fix eluded me.

> However, using dwarf2 with -g1 seems pretty silly anyway.

Good point.  But -g1 is the java default, making this bug
rather noticable on targets that default to dwarf-2 debug output
(e.g. alpha-linux).

Jeff



More information about the Gcc-bugs mailing list