------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-11 17:42 ------- On the mainline at -O1 (since I cannot compile at -O0 but that is a different bug which I already filed): cp/lex.c:716 (copy_decl) 910284: 0.1% 0: 0.0% 6083812:11.3% 0: 0.0% 56404 ggc-common.c:193 (ggc_calloc) 3299632: 0.4% 11884228: 2.5% 1207832: 2.2% 2736868: 1.6% 22853 tree.c:4530 (build_method_type_directly) 1173592: 0.1% 0: 0.0% 2903048: 5.4% 750960: 0.4% 26820 tree.c:4266 (build_reference_type_for_mode) 456: 0.0% 0: 0.0% 602376: 1.1% 111048: 0.1% 3966 cp/class.c:2455 (maybe_add_class_template_decl_l 0: 0.0% 0: 0.0% 1061232: 2.0% 0: 0.0% 44218 tree.c:472 (copy_list) 2232: 0.0% 0: 0.0% 1083164: 2.0% 0: 0.0% 8854 Those are ones which leak still.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12850