[PATCH] Always set TYPE_NAME for complex types

Mark Mitchell mark@codesourcery.com
Sat Sep 1 22:01:00 GMT 2007


Richard Guenther wrote:
> On 9/1/07, Mark Mitchell <mark@codesourcery.com> wrote:
>> Richard Guenther wrote:
>>> This patch makes us always set TYPE_NAME for complex types making
>>> DECL_UIDs the same for -g vs. non-g compiles.  Until early inlining
>>> that is.
>> Should that affect code generation?  If not, doesn't your patch cause us
>> to allocate more memory that we don't particularly need?  Do we care? :-)
> 
> In theory it shouldn't affect code generation, in practice we seem to have
> a problem with the aliasing code in this respect (which I'm trying to track
> down...).  Yes, we allocate "more" memory, as for needing it depends.
> At the moment dump files and output from debug_tree differ for -g vs. non-g
> (dump files also differ because UIDs are different).  No, we don't care --
> complex types were the only ones that had their name set conditionally.

OK, that's what I guessed. :-)

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list