[PATCH] Always set TYPE_NAME for complex types

Richard Guenther richard.guenther@gmail.com
Sat Sep 1 08:51:00 GMT 2007


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.

Richard.



More information about the Gcc-patches mailing list