This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix PR debug/19345
On Thu, 27 Jan 2005, Daniel Berlin wrote:
s/containing function/origin type/
On Wed, 26 Jan 2005, Mark Mitchell wrote:
Daniel Berlin wrote:
Rather than add a null check in decl_function_context, i've simply
guarded against calling it here with null (we already were assuming it
could return null, so what's 2 null checks when you've already got 1
Everything else DTRT once we exit our if block.
Bootstrapped and regtested on i686-pc-linux-gnu. Okay for mainline?
That doesn't seem right to me, as this type is indeed local to a function.
I'd say that DECL_CONTEXT applied to the type should indeed be a
See dwarf2out.c add_abstract_origin_attribute
The if part this code is in is just trying to make sure the containing