[PATCH] Re: dwarf2out change breaks ada and libstdc++ on solaris too

Jason Merrill jason@redhat.com
Sat Feb 21 13:45:00 GMT 2004


On Tue, 3 Feb 2004 21:35:44 -0800, Devang Patel <dpatel@apple.com> wrote:

> On Feb 3, 2004, at 7:14 PM, Jason Merrill wrote:
>
>> In any case, it's wrong to ignore the TYPE_DECL.  The decl is what we're
>> interested in.  We should be importing the appropriate typedef die.
>
> Yes and this was my mistake. I understood what I was doing after I
> forced i686 to use standard va_list and looked at the dwarf output.
> In all example I tried earlier by hand, I always, by chance, used actual
> base type instead of pointer to base type in typedefs.
>
> Anyway, how about this patch?

This patch is OK.

But please also address my point in the paragraph you quote above.  We
should not be importing a type DIE.

Jason



More information about the Gcc-patches mailing list