https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62016

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trippels at gcc dot gnu.org

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
estimate_calls_size_and_time is responsible:

callgrind shows during compilation:

PID 8134: /usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.3/cc1 -quiet small.c -quiet
-dumpbase small.c -mtune=generic -march=x86-64 -auxbase small -O3 -o
/tmp/cc5Ji2sS.s
sending command status internal to pid 8134

  Totals:           Ir 
   Th 1  7,602,583,430 

  Frame:              Ir Backtrace for Thread 1
   [ 0]  198,528,310,004 estimate_calls_size_and_time(cgraph_node*, int*, int*,
int*, unsigned int, vec<tree_node*, va_heap, vl_ptr>, vec<tree_node*, va_heap,
vl_ptr>, vec<ipa_agg_jump_function*, va_heap, vl_ptr>) [clone
.isra.48.371314.34966] (58874971 x)
...
   [34]  198,528,323,290 estimate_calls_size_and_time(cgraph_node*, int*, int*,
int*, unsigned int, vec<tree_node*, va_heap, vl_ptr>, vec<tree_node*, va_heap,
vl_ptr>, vec<ipa_agg_jump_function*, va_heap, vl_ptr>) [clone
.isra.48.371314.34966] (58874971 x)
   [35]    7,299,677,321 estimate_calls_size_and_time(cgraph_node*, int*, int*,
int*, unsigned int, vec<tree_node*, va_heap, vl_ptr>, vec<tree_node*, va_heap,
vl_ptr>, vec<ipa_agg_jump_function*, va_heap, vl_ptr>) [clone
.isra.48.371314.34966] (68761 x)
   [36]    7,276,594,294 estimate_calls_size_and_time(cgraph_node*, int*, int*,
int*, unsigned int, vec<tree_node*, va_heap, vl_ptr>, vec<tree_node*, va_heap,
vl_ptr>, vec<ipa_agg_jump_function*, va_heap, vl_ptr>) [clone
.isra.48.371314.34966] (35608 x)
   [37]    7,286,199,223 estimate_node_size_and_time(cgraph_node*, unsigned
int, vec<tree_node*, va_heap, vl_ptr>, vec<tree_node*, va_heap, vl_ptr>,
vec<ipa_agg_jump_function*, va_heap, vl_ptr>, int*, int*, int*,
vec<inline_param_summary, va_heap, vl_ptr>) [clone .371325] (35570 x)
   [38]    7,382,517,284 do_estimate_edge_time(cgraph_edge*) (35570 x)
   [39]    7,376,457,586 do_estimate_edge_size(cgraph_edge*) (30094 x)
   [40]    7,375,282,471 estimate_edge_size(cgraph_edge*) [clone .371672.55874]
(64499 x)
   [41]    7,376,509,640 do_estimate_growth_1(cgraph_node*, void*) [clone
.371011] (78 x)
   [42]    7,376,511,655 cgraph_for_node_and_aliases(cgraph_node*, bool
(*)(cgraph_node*, void*), void*, bool) (78 x)
   [43]    7,376,515,292 do_estimate_growth(cgraph_node*) (78 x)

Reply via email to