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: Faster compilation speed: cache behavior


On Tue, Aug 20, 2002 at 04:23:29PM -0700, David S. Miller wrote:
>    From: Zack Weinberg <zack@codesourcery.com>
>    Date: Tue, 20 Aug 2002 16:32:46 -0700
> 
>    RTX                  Number            Bytes    % Total
>  ...
>    symbol_ref              388            6208      43.425
>  ...
>    That is an awful lot of data allocation activity, and an awful lot of
>    garbage created, for having done nothing at all.
> 
> Most of these RTL objects can be eliminated, search the list archives
> forthe subject "DECL_RTL vs. explicit make_decl_rtl calls".  Every
> function decl. parsed, even in header files, causes a SYMBOL_REF to
> be created and hung off the DECL_RTL of the tree node.

Ah yes.  (Did you make any progress fixing that?)  I'm still not clear
where 388 of the things come from when the input file has length zero,
though.  (Builtins?)

zw


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