This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lto] Merge types read from different TUs
On Thu, Mar 26, 2009 at 11:42, Richard Guenther
<richard.guenther@gmail.com> wrote:
> I think this is the only sensible thing we can do cross TU and
> even more so cross language.
Agreed.
Merging types by structural identity also causes large savings in
memory footprint. In one case, it was saving over 1Gb worth of type
information. Not all the savings were due to different type names
mashed into one though. Rather the aggregate type merging pass was
saving all that much.
Diego.