This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: SRA and DECL_ABSTRACT_ORIGIN
- From: Richard Henderson <rth at redhat dot com>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: gcc at gcc dot gnu dot org, dnovillo at redhat dot com
- Date: Sat, 1 Jan 2005 12:37:24 -0800
- Subject: Re: SRA and DECL_ABSTRACT_ORIGIN
- References: <m34qi19vhg.fsf@uniton.integrable-solutions.net>
On Sat, Jan 01, 2005 at 01:36:43PM +0100, Gabriel Dos Reis wrote:
> A question I have is why DECL_ABSTRACT_ORIGIN is not set for
> "temporaries" created for the purpose of scalar replacement of
> aggregates. I would think that is an obvious thing to do. Why is it
> not done?
Because DECL_ABSTRACT_ORIGIN applies to inlining, and not this.
> We should just pretty-print expressions designating those objects.
> We have code to do that. Why was it decided to do otherwise?
Because this is how we can emit meaningful debug information for stabs.
And indeed how we've *always* emitted debug info for complex numbers
in stabs.
r~