http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51635
--- Comment #12 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-21 11:03:46 UTC --- Created attachment 26158 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26158 patch candidate to speed up uniquify nodes I was also experimenting with the attached patch - it should be enough to call gimple_register_types (in uniquify_nodes and lto_fixup_types and friends) for types in the current set of trees we process, and for those that do not prevail. [asserting that does not work though, for unknown reasons - known partially at least for pre-loaded types which we shouldn't really merge anyway]