[Bug c++/70452] [5/6 Regression] Regression in C++ parsing performance between 4.9.3 and 5.3.1

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 30 14:09:00 GMT 2016


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-03-30
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  For trunk I get

Samples: 13K of event 'cycles', Event count (approx.): 11326375876              
  4.71%  cc1plus  cc1plus            [.] copy_tree_body_r(tree_node**, int*,
voi
  4.49%  cc1plus  cc1plus            [.]
cxx_eval_constant_expression(constexpr_
  4.20%  cc1plus  cc1plus            [.] ggc_internal_alloc(unsigned long, void
  2.94%  cc1plus  cc1plus            [.] remap_type(tree_node*,
copy_body_data*)
  2.69%  cc1plus  cc1plus            [.] ggc_set_mark(void const*)
  2.67%  cc1plus  cc1plus            [.] gt_ggc_mx_lang_tree_node(void*)
  2.41%  cc1plus  cc1plus            [.] walk_tree_1(tree_node**, tree_node*
(*)
  2.29%  cc1plus  cc1plus            [.] cxx_eval_call_expression(constexpr_ctx
  2.11%  cc1plus  cc1plus            [.] htab_find_slot_with_hash

nothing "obvious" here other than that we're actually copying a lot of stuff
just to evaluate it.


More information about the Gcc-bugs mailing list