This is the mail archive of the gcc@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: SRA and DECL_ABSTRACT_ORIGIN


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~


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