[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 5 13:37:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at redhat dot com,
                   |                            |mark at codesourcery dot
                   |                            |com

--- Comment #21 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-05 13:36:37 UTC ---
I am re-building now.  Martin's edge cgraph_opt streaming fix is needed and
flag_shlib needs to be set in lto-options.c
With this fixed oprofile shows that cc1plus spends a lot of time in
lookup_filed_1.

40259     5.6000  cc1plus                  cc1plus                 
lookup_field_1
20275     2.8203  cc1plus                  cc1plus                 
longest_match
15843     2.2038  libc-2.11.1.so           libc-2.11.1.so           _int_malloc
12409     1.7261  libc-2.11.1.so           libc-2.11.1.so           memset
10680     1.4856  cc1plus                  cc1plus                 
htab_find_slot_with_hash
10471     1.4565  libc-2.11.1.so           libc-2.11.1.so           vfprintf
9004      1.2525  cc1plus                  cc1plus                 
deflate_slow
8580      1.1935  cc1plus                  cc1plus                 
ggc_internal_alloc_stat
8300      1.1545  libc-2.11.1.so           libc-2.11.1.so           memcpy
8100      1.1267  cc1plus                  cc1plus                 
ht_lookup_with_hash
8044      1.1189  libpython2.6.so.1.0      libpython2.6.so.1.0     
/usr/lib64/libpython2.6.so.1.0
7840      1.0905  cc1plus                  cc1plus                 
_cpp_lex_direct
6340      0.8819  cc1plus                  cc1plus                 
pointer_set_insert

I am adding c++ maintainers to CC as this seems like relatively low hanging
fruit for noticeable compilation speedup? It tends to show in oprofile as 5-7%
of compile time.



More information about the Gcc-bugs mailing list