This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH] Proposed fix for bug #31899


Hi Dan

It is a bug in dwarf2out.c that causes an ICE because
reference_to_unused assumed it is never called until the call-graph is
complete if gcc is compiling a unit at a time. That assumption is not
true as g++ tries to decide if it want to emits debugging info early
during passing. The fix is to handle this situation and make
reference_to_unused conservative. The effect is that we always defer
emission of some debug info that we used to emit early.

Ian says you are also familiar with the dwarf2 code. Maybe you could
take a look as well? Both Diego and I think this fix is reasonable but
we are not sure if it is 100% safe.

-Doug

2007/7/31, Daniel Berlin <dberlin@dberlin.org>:
> You should say what the bug is about in the message, and how your fix
> fixes it.  I couldn't tell anything about whether this is something i
> should look at (IE i maintain) from the subject.  For most
> maintainers, when that happens, they ignore it :)
> Also, you are 999999 times more likely to get a response if you cc the
> maintainer for that area.
>
> On 7/31/07, Doug Kwan (Ãö®¶¼w) <dougkwan@google.com> wrote:
> > Hi,
> >
> >     Could someone review and approve this? Thanks.
> >
> > -Doug
> >
> >
>

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