This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/2814: dwarf2out problems when -g1 is combined with -fpic oni686-linux
- To: Daniel Berlin <dan at cgsoftware dot com>
- Subject: Re: c++/2814: dwarf2out problems when -g1 is combined with -fpic oni686-linux
- From: Jeff Sturm <jsturm at one-point dot com>
- Date: Sat, 16 Jun 2001 11:16:02 -0400 (EDT)
- cc: rodrigc at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, tmwg at inxservices dot com
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