Faster compilation speed: cache behavior
Zack Weinberg
zack@codesourcery.com
Tue Aug 20 16:55:00 GMT 2002
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
More information about the Gcc
mailing list