This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]