This is the mail archive of the gcc-regression@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

A recent patch increased GCC's memory consumption!


Hi,

I am a friendly script caring about memory consumption in GCC.  Please
contact jh@suse.cz if something is going wrong.

Comparing memory consumption on compilation of combine.i, insn-attrtab.i,
and generate-3.4.ii I got:


comparing empty function compilation at -O0 level:
  Amount of memory still referenced at the end of compilation increased from 959k to 960k, overall 0.12%
    Overall memory needed: 8153k
    Peak memory use before GGC: 1102k
    Peak memory use after GGC: 1001k -> 1002k
    Maximum of released memory in single GGC run: 129k
    Garbage: 235k -> 235k
    Leak: 959k -> 960k
    Overhead: 80k -> 80k
    GGC runs: 2
Testing has produced no results
Testing has produced no results

comparing empty function compilation at -O0 -g level:
  Amount of memory still referenced at the end of compilation increased from 990k to 993k, overall 0.23%
    Overall memory needed: 8169k
    Peak memory use before GGC: 1129k
    Peak memory use after GGC: 1034k
    Maximum of released memory in single GGC run: 126k
    Garbage: 237k -> 237k
    Leak: 990k -> 993k
    Overhead: 84k -> 85k
    GGC runs: 4
Testing has produced no results
Testing has produced no results

comparing empty function compilation at -O1 level:
  Amount of memory still referenced at the end of compilation increased from 959k to 960k, overall 0.12%
    Overall memory needed: 8205k
    Peak memory use before GGC: 1102k
    Peak memory use after GGC: 1001k -> 1002k
    Maximum of released memory in single GGC run: 131k
    Garbage: 237k -> 237k
    Leak: 959k -> 960k
    Overhead: 81k -> 81k
    GGC runs: 2
    Pre-IPA-Garbage: 225k -> 224k
    Pre-IPA-Leak: 962k -> 963k
    Pre-IPA-Overhead: 79k -> 79k
    Post-IPA-Garbage: 225k -> 224k
    Post-IPA-Leak: 962k -> 963k
    Post-IPA-Overhead: 79k -> 79k

comparing empty function compilation at -O2 level:
  Amount of memory still referenced at the end of compilation increased from 960k to 961k, overall 0.12%
    Overall memory needed: 8225k
    Peak memory use before GGC: 1102k
    Peak memory use after GGC: 1002k
    Maximum of released memory in single GGC run: 134k -> 135k
    Garbage: 241k -> 240k
    Leak: 960k -> 961k
    Overhead: 81k -> 82k
    GGC runs: 2
    Pre-IPA-Garbage: 225k -> 224k
    Pre-IPA-Leak: 963k -> 963k
    Pre-IPA-Overhead: 79k -> 79k
    Post-IPA-Garbage: 225k -> 224k
    Post-IPA-Leak: 963k -> 963k
    Post-IPA-Overhead: 79k -> 79k

comparing empty function compilation at -O3 level:
  Amount of memory still referenced at the end of compilation increased from 960k to 961k, overall 0.12%
    Overall memory needed: 8225k
    Peak memory use before GGC: 1102k
    Peak memory use after GGC: 1002k
    Maximum of released memory in single GGC run: 134k -> 135k
    Garbage: 241k -> 240k
    Leak: 960k -> 961k
    Overhead: 81k -> 82k
    GGC runs: 2
    Pre-IPA-Garbage: 225k -> 224k
    Pre-IPA-Leak: 963k -> 963k
    Pre-IPA-Overhead: 79k -> 79k
    Post-IPA-Garbage: 225k -> 224k
    Post-IPA-Leak: 963k -> 963k
    Post-IPA-Overhead: 79k -> 79k

comparing combine.c compilation at -O0 level:
    Overall memory needed: 22633k -> 22617k
    Peak memory use before GGC: 7799k -> 7784k
    Peak memory use after GGC: 7175k -> 7160k
    Maximum of released memory in single GGC run: 1546k -> 1545k
    Garbage: 37774k -> 37782k
    Leak: 5509k -> 5493k
    Overhead: 4606k -> 4618k
    GGC runs: 372
Testing has produced no results
Testing has produced no results

comparing combine.c compilation at -O0 -g level:
  Peak amount of GGC memory allocated before garbage collecting increased from 9499k to 9719k, overall 2.32%
  Peak amount of GGC memory still allocated after garbage collecting increased from 8762k to 9057k, overall 3.37%
  Amount of memory still referenced at the end of compilation increased from 7914k to 8688k, overall 9.77%
    Overall memory needed: 24513k -> 24709k
    Peak memory use before GGC: 9499k -> 9719k
    Peak memory use after GGC: 8762k -> 9057k
    Maximum of released memory in single GGC run: 1831k -> 1830k
    Garbage: 38130k -> 38148k
    Leak: 7914k -> 8688k
    Overhead: 4998k -> 5414k
    GGC runs: 346 -> 340
Testing has produced no results
Testing has produced no results

comparing combine.c compilation at -O1 level:
    Overall memory needed: 32873k -> 32849k
    Peak memory use before GGC: 16266k -> 16259k
    Peak memory use after GGC: 16084k -> 16077k
    Maximum of released memory in single GGC run: 1375k
    Garbage: 51552k -> 51564k
    Leak: 5657k -> 5658k
    Overhead: 5801k -> 5805k
    GGC runs: 440 -> 439
    Pre-IPA-Garbage: 13924k -> 13911k
    Pre-IPA-Leak: 17105k -> 17101k
    Pre-IPA-Overhead: 2131k -> 2128k
    Post-IPA-Garbage: 13924k -> 13911k
    Post-IPA-Leak: 17105k -> 17101k
    Post-IPA-Overhead: 2131k -> 2128k

comparing combine.c compilation at -O2 level:
  Amount of memory still referenced at the end of compilation increased from 5987k to 5997k, overall 0.17%
    Overall memory needed: 34669k -> 34661k
    Peak memory use before GGC: 16364k -> 16357k
    Peak memory use after GGC: 16201k -> 16195k
    Maximum of released memory in single GGC run: 1305k
    Garbage: 71431k -> 71436k
    Leak: 5987k -> 5997k
    Overhead: 8152k -> 8153k
    GGC runs: 513 -> 512
    Pre-IPA-Garbage: 14078k -> 14064k
    Pre-IPA-Leak: 17166k -> 17164k
    Pre-IPA-Overhead: 2145k -> 2143k
    Post-IPA-Garbage: 14078k -> 14064k
    Post-IPA-Leak: 17166k -> 17164k
    Post-IPA-Overhead: 2145k -> 2143k

comparing combine.c compilation at -O3 level:
    Overall memory needed: 37389k -> 37377k
    Peak memory use before GGC: 16499k -> 16494k
    Peak memory use after GGC: 16206k -> 16200k
    Maximum of released memory in single GGC run: 2006k
    Garbage: 88454k -> 88467k
    Leak: 6050k -> 6052k
    Overhead: 10089k -> 10089k
    GGC runs: 547
    Pre-IPA-Garbage: 14080k -> 14066k
    Pre-IPA-Leak: 17178k -> 17176k
    Pre-IPA-Overhead: 2146k -> 2144k
    Post-IPA-Garbage: 14080k -> 14066k
    Post-IPA-Leak: 17178k -> 17176k
    Post-IPA-Overhead: 2146k -> 2144k

comparing insn-attrtab.c compilation at -O0 level:
  Amount of memory still referenced at the end of compilation increased from 8125k to 8362k, overall 2.92%
    Overall memory needed: 137441k -> 137437k
    Peak memory use before GGC: 56968k -> 56962k
    Peak memory use after GGC: 31393k -> 31388k
    Maximum of released memory in single GGC run: 32968k -> 32967k
    Garbage: 128704k -> 128459k
    Leak: 8125k -> 8362k
    Overhead: 14274k -> 14291k
    GGC runs: 293 -> 292
Testing has produced no results
Testing has produced no results

comparing insn-attrtab.c compilation at -O0 -g level:
  Peak amount of GGC memory allocated before garbage collecting increased from 58027k to 58164k, overall 0.24%
  Peak amount of GGC memory still allocated after garbage collecting increased from 32452k to 32589k, overall 0.42%
  Amount of memory still referenced at the end of compilation increased from 9812k to 10200k, overall 3.96%
    Overall memory needed: 138597k -> 138717k
    Peak memory use before GGC: 58027k -> 58164k
    Peak memory use after GGC: 32452k -> 32589k
    Maximum of released memory in single GGC run: 32968k
    Garbage: 128694k -> 128705k
    Leak: 9812k -> 10200k
    Overhead: 14512k -> 14731k
    GGC runs: 289
Testing has produced no results
Testing has produced no results

comparing insn-attrtab.c compilation at -O1 level:
    Overall memory needed: 142869k -> 142877k
    Peak memory use before GGC: 56190k -> 56191k
    Peak memory use after GGC: 49970k
    Maximum of released memory in single GGC run: 23960k
    Garbage: 205125k -> 205132k
    Leak: 9262k -> 9266k
    Overhead: 24695k -> 24740k
    GGC runs: 315
    Pre-IPA-Garbage: 50369k -> 50364k
    Pre-IPA-Leak: 49664k -> 49666k
    Pre-IPA-Overhead: 7545k -> 7553k
    Post-IPA-Garbage: 50369k -> 50364k
    Post-IPA-Leak: 49664k -> 49666k
    Post-IPA-Overhead: 7545k -> 7553k

comparing insn-attrtab.c compilation at -O2 level:
    Overall memory needed: 184365k -> 184373k
    Peak memory use before GGC: 56811k
    Peak memory use after GGC: 51536k -> 51537k
    Maximum of released memory in single GGC run: 22857k -> 22860k
    Garbage: 246841k -> 246861k
    Leak: 10341k -> 10345k
    Overhead: 30604k -> 30656k
    GGC runs: 347
    Pre-IPA-Garbage: 50441k -> 50436k
    Pre-IPA-Leak: 49667k -> 49669k
    Pre-IPA-Overhead: 7553k -> 7560k
    Post-IPA-Garbage: 50441k -> 50436k
    Post-IPA-Leak: 49667k -> 49669k
    Post-IPA-Overhead: 7553k -> 7560k

comparing insn-attrtab.c compilation at -O3 level:
    Overall memory needed: 189777k -> 189781k
    Peak memory use before GGC: 66353k
    Peak memory use after GGC: 62274k -> 62275k
    Maximum of released memory in single GGC run: 23354k -> 23357k
    Garbage: 270543k -> 270567k
    Leak: 10379k -> 10383k
    Overhead: 32390k -> 32446k
    GGC runs: 347
    Pre-IPA-Garbage: 50441k -> 50436k
    Pre-IPA-Leak: 49667k -> 49669k
    Pre-IPA-Overhead: 7553k -> 7560k
    Post-IPA-Garbage: 50441k -> 50436k
    Post-IPA-Leak: 49667k -> 49669k
    Post-IPA-Overhead: 7553k -> 7560k

comparing Gerald's testcase PR8361 compilation at -O0 level:
    Overall memory needed: 147611k -> 145953k
    Peak memory use before GGC: 83441k -> 82004k
    Peak memory use after GGC: 82614k -> 81191k
    Maximum of released memory in single GGC run: 16522k -> 15827k
    Garbage: 198620k -> 198501k
    Leak: 47798k -> 47519k
    Overhead: 23752k -> 24202k
    GGC runs: 417 -> 416
    Pre-IPA-Garbage: 109267k -> 108675k
    Pre-IPA-Leak: 70553k -> 69761k
    Pre-IPA-Overhead: 12198k -> 12147k
    Post-IPA-Garbage: 109267k -> 108675k
    Post-IPA-Leak: 70553k -> 69761k
    Post-IPA-Overhead: 12198k -> 12147k

comparing Gerald's testcase PR8361 compilation at -O0 -g level:
  Peak amount of GGC memory allocated before garbage collecting increased from 93664k to 94378k, overall 0.76%
  Peak amount of GGC memory still allocated after garbage collecting increased from 92737k to 93436k, overall 0.75%
  Amount of memory still referenced at the end of compilation increased from 65692k to 71908k, overall 9.46%
    Overall memory needed: 166687k -> 167233k
    Peak memory use before GGC: 93664k -> 94378k
    Peak memory use after GGC: 92737k -> 93436k
    Maximum of released memory in single GGC run: 16605k -> 16319k
    Garbage: 204260k -> 204145k
    Leak: 65692k -> 71908k
    Overhead: 26796k -> 30560k
    GGC runs: 393 -> 387
  Amount of memory referenced pre-ipa increased from 81801k to 84494k, overall 3.29%
    Pre-IPA-Garbage: 109910k -> 109318k
    Pre-IPA-Leak: 81801k -> 84494k
    Pre-IPA-Overhead: 13755k -> 15451k
  Amount of memory referenced post-ipa increased from 81801k to 84494k, overall 3.29%
    Post-IPA-Garbage: 109910k -> 109318k
    Post-IPA-Leak: 81801k -> 84494k
    Post-IPA-Overhead: 13755k -> 15451k

comparing Gerald's testcase PR8361 compilation at -O1 level:
    Overall memory needed: 122099k -> 121441k
    Peak memory use before GGC: 83693k -> 83342k
    Peak memory use after GGC: 82863k -> 82509k
    Maximum of released memory in single GGC run: 15729k -> 15131k
    Garbage: 287845k -> 286884k
    Leak: 47081k -> 46806k
    Overhead: 29697k -> 29520k
    GGC runs: 514
    Pre-IPA-Garbage: 154418k -> 153388k
    Pre-IPA-Leak: 87525k -> 87193k
    Pre-IPA-Overhead: 17990k -> 17779k
    Post-IPA-Garbage: 154418k -> 153388k
    Post-IPA-Leak: 87525k -> 87193k
    Post-IPA-Overhead: 17990k -> 17779k

comparing Gerald's testcase PR8361 compilation at -O2 level:
    Overall memory needed: 124595k -> 123861k
    Peak memory use before GGC: 83911k -> 83526k
    Peak memory use after GGC: 83032k -> 82686k
    Maximum of released memory in single GGC run: 15732k -> 15121k
    Garbage: 354753k -> 353727k
    Leak: 48176k -> 47917k
    Overhead: 36947k -> 36749k
    GGC runs: 588 -> 589
    Pre-IPA-Garbage: 156967k -> 155930k
    Pre-IPA-Leak: 87662k -> 87339k
    Pre-IPA-Overhead: 18269k -> 18058k
    Post-IPA-Garbage: 156967k -> 155930k
    Post-IPA-Leak: 87662k -> 87339k
    Post-IPA-Overhead: 18269k -> 18058k

comparing Gerald's testcase PR8361 compilation at -O3 level:
    Overall memory needed: 127423k -> 126781k
    Peak memory use before GGC: 85171k -> 84823k
    Peak memory use after GGC: 84296k -> 83947k
    Maximum of released memory in single GGC run: 16125k -> 15462k
    Garbage: 378095k -> 377066k
    Leak: 48766k -> 48491k
    Overhead: 39081k -> 38885k
    GGC runs: 611
    Pre-IPA-Garbage: 159686k -> 158629k
    Pre-IPA-Leak: 87945k -> 87621k
    Pre-IPA-Overhead: 18525k -> 18310k
    Post-IPA-Garbage: 159686k -> 158629k
    Post-IPA-Leak: 87945k -> 87621k
    Post-IPA-Overhead: 18525k -> 18310k

comparing PR rtl-optimization/28071 testcase compilation at -O0 level:
    Overall memory needed: 380355k
    Peak memory use before GGC: 100958k
    Peak memory use after GGC: 56611k
    Maximum of released memory in single GGC run: 50583k
    Garbage: 175620k -> 175622k
    Leak: 8934k -> 8935k
    Overhead: 30537k -> 30540k
    GGC runs: 107
Testing has produced no results
Testing has produced no results

comparing PR rtl-optimization/28071 testcase compilation at -O0 -g level:
  Peak amount of GGC memory allocated before garbage collecting increased from 101501k to 101651k, overall 0.15%
  Peak amount of GGC memory still allocated after garbage collecting increased from 57155k to 57304k, overall 0.26%
  Amount of memory still referenced at the end of compilation increased from 10245k to 10964k, overall 7.01%
    Overall memory needed: 381055k -> 381187k
    Peak memory use before GGC: 101501k -> 101651k
    Peak memory use after GGC: 57155k -> 57304k
    Maximum of released memory in single GGC run: 50582k -> 50583k
    Garbage: 175735k -> 175737k
    Leak: 10245k -> 10964k
    Overhead: 30757k -> 31123k
    GGC runs: 110 -> 111
Testing has produced no results
Testing has produced no results

comparing PR rtl-optimization/28071 testcase compilation at -O1 level:
    Overall memory needed: 426949k -> 427881k
    Peak memory use before GGC: 78563k -> 78564k
    Peak memory use after GGC: 70443k -> 70441k
    Maximum of released memory in single GGC run: 37595k -> 37596k
    Garbage: 231505k -> 231507k
    Leak: 16425k -> 16425k
    Overhead: 33115k -> 33114k
    GGC runs: 106
    Pre-IPA-Garbage: 52922k -> 52922k
    Pre-IPA-Leak: 49243k -> 49240k
    Pre-IPA-Overhead: 7123k -> 7122k
    Post-IPA-Garbage: 52922k -> 52922k
    Post-IPA-Leak: 49243k -> 49240k
    Post-IPA-Overhead: 7123k -> 7122k

comparing PR rtl-optimization/28071 testcase compilation at -O2 level:
    Overall memory needed: 353721k -> 354293k
    Peak memory use before GGC: 75430k -> 75427k
    Peak memory use after GGC: 70444k -> 70441k
    Maximum of released memory in single GGC run: 31528k
    Garbage: 246014k -> 246016k
    Leak: 16598k -> 16599k
    Overhead: 36251k -> 36249k
    GGC runs: 117
    Pre-IPA-Garbage: 91834k -> 91833k
    Pre-IPA-Leak: 77300k -> 77297k
    Pre-IPA-Overhead: 11796k -> 11795k
    Post-IPA-Garbage: 91834k -> 91833k
    Post-IPA-Leak: 77300k -> 77297k
    Post-IPA-Overhead: 11796k -> 11795k

comparing PR rtl-optimization/28071 testcase compilation at -O3 -fno-tree-pre -fno-tree-fre level:
    Overall memory needed: 1198337k -> 1197433k
    Peak memory use before GGC: 136591k -> 136589k
    Peak memory use after GGC: 127949k -> 127946k
    Maximum of released memory in single GGC run: 59981k -> 59982k
    Garbage: 368798k -> 368801k
    Leak: 25797k -> 25798k
    Overhead: 49863k -> 49862k
    GGC runs: 104
    Pre-IPA-Garbage: 91834k -> 91833k
    Pre-IPA-Leak: 77300k -> 77297k
    Pre-IPA-Overhead: 11796k -> 11795k
    Post-IPA-Garbage: 91834k -> 91833k
    Post-IPA-Leak: 77300k -> 77297k
    Post-IPA-Overhead: 11796k -> 11795k

Head of the ChangeLog is:

--- /usr/src/SpecTests/sandbox-britten-memory/x86_64/mem-result/ChangeLog	2008-04-08 07:27:49.000000000 +0000
+++ /usr/src/SpecTests/sandbox-britten-memory/gcc/gcc/ChangeLog	2008-04-08 11:20:55.000000000 +0000
@@ -1,3 +1,170 @@
+2008-04-08  Richard Guenther  <rguenther@suse.de>
+
+	PR middle-end/35834
+	* tree-ssa-address.c (create_mem_ref): Use POINTER_PLUS_EXPR
+	for adding index to base.
+
+2008-04-08  Kai Tietz  <kai.tietz@onevision.com>
+
+	* config/i386/mingw32.h (ENABLE_EXECUTE_STACK): New.
+	(MINGW_ENABLE_EXECUTE_STACK): New.
+	(IN_LIBGCC2): For libgcc include windows.h file for
+	function declarations.
+
+2008-04-08  Hans-Peter Nilsson  <hp@axis.com>
+
+	* config/cris/cris.c (cris_address_cost): For a PLUS, swap tem1
+	and tem2 if tem1 is not a REG or MULT.
+
+2008-04-08  Jan Hubicka  <jh@suse.cz>
+
+	* function.h (incomming_args): Break out of struct function.
+	(function_subsections): Break out of struct function.
+	(rtl_data): Add args, subsections fields. Break out outgoing_args_size,
+	return_rtx and hard_reg_initial_vals from struct function.
+	Kill inl_max_label_num.
+	(current_function_pops_args, current_function_args_info,
+	current_function_args_size, current_function_args_size,
+	current_function_pretend_args_size,
+	current_function_outgoing_args_size,
+	current_function_internal_arg_pointer, current_function_return_rtx):
+	Kill compatibility accestor macros.
+	* builtins.c (expand_builtin_apply_args_1): Update.
+	(expand_builtin_next_arg): Update.
+	* df-scan.c (df_get_call_refs): Update.
+	* dbxout.c (dbxout_function_end): Update.
+	* dwarf2out.c (dwarf2out_switch_text_section): Update.
+	(output_line_info): Update.
+	(secname_for_decl): Update.
+	(dwarf2out_var_location): Update.
+	* function.c (free_after_compilation): Update.
+	(assign_parm_find_stack_rtl): Update.
+	(assign_parms): Update.
+	(expand_dummy_function_end): Update.
+	(expand_function_end): Update.
+	* calls.c (mem_overlaps_already_clobbered_arg_p): Update.
+	(expand_call): Update.
+	(emit_library_call_value_1): Update.
+	(store_one_arg): Update.
+	* varasm.c (initialize_cold_section_name): Update.
+	(unlikely_text_section): Update.
+	(unlikely_text_section_p): Update.
+	(assemble_start_function): Update.
+	(assemble_end_function): Update.
+	(default_section_type_flags): Update.
+	(switch_to_section): Update.
+	* integrate.c (set_decl_abstract_flags): Update.
+	(get_hard_reg_initial_val): Update.
+	(has_hard_reg_initial_val): Update.
+	(allocate_initial_values): Update.
+	* resource.c (init_resource_info): Update.
+	* config/alpha/alpha.c (NUM_ARGS): Update.
+	(direct_return): Update.
+	(alpha_va_start): Update.
+	(alpha_sa_size): Update.
+	(alpha_initial_elimination_offset): Update.
+	(alpha_expand_prologue): Update.
+	(alpha_start_function): Update.
+	(alpha_expand_epilogue): Update.
+	(unicosmk_initial_elimination_offset):
+	* config/alpha/alpha.md (call expander): Update.
+	* config/s390/s390.c (s390_register_info): Update.
+	(s390_register_info): Update.
+	(s390_frame_info): Update.
+	(s390_initial_elimination_offset): Update.
+	(s390_build_builtin_va_list): Update.
+	(s390_va_start): Update.
+	* config/spu/spu.c (direct_return): Update.
+	(spu_expand_prologue): Update.
+	(spu_initial_elimination_offset): Update.
+	(spu_build_builtin_va_list): Update.
+	(spu_va_start): Update.
+	* config/sparc/sparc.c (sparc_init_modes): Update.
+	(sparc_compute_frame_size): Update.
+	(function_value): Update.
+	* config/m32r/m32r.c (m32r_compute_frame_size): Update.
+	* config/i386/i386.md (return expander): Update.
+	* config/i386/i386.c (ix86_va_start): Update.
+	(ix86_can_use_return_insn_p): Update.
+	(ix86_compute_frame_layout): Update.
+	(ix86_expand_epilogue): Update.
+	* config/sh/sh.c (output_stack_adjust): Update.
+	(calc_live_regs): Update.
+	(sh_expand_prologue): Update.
+	(sh_builtin_saveregs): Update.
+	(sh_va_start): Update.
+	(initial_elimination_offset): Update.
+	(sh_allocate_initial_value): Update.
+	(sh_function_ok_for_sibcall): Update.
+	(sh_get_pr_initial_val): Update.
+	* config/sh/sh.md (return expander): Update.
+	* config/avr/avr.c (frame_pointer_required_p): UPdate.
+	* config/crx/crx.c (crx_compute_frame): UPdate.
+	(crx_initial_elimination_offset): UPdate.
+	* config/xtensa/xtensa.c (compute_frame_size): Update
+	(xtensa_builtin_saveregs): Update.
+	(xtensa_va_start): Update.
+	(order_regs_for_local_alloc): Update.
+	* config/stormy16/stormy16.c (xstormy16_compute_stack_layout): Update.
+	(xstormy16_expand_builtin_va_start): Update.
+	* config/fr30/fr30.c (fr30_compute_frame_size): Update.
+	* config/m68hc11/m68hc11.md (return expanders): Update.
+	* config/m68hc11/m68hc11.c (expand_prologue): Update.
+	(expand_epilogue): Update.
+	* config/cris/cris.c (cris_initial_frame_pointer_offset): Update.
+	(cris_simple_epilogue): Update.
+	(cris_expand_prologue): Update.
+	(cris_expand_epilogue): Update.
+	* config/iq2000/iq2000.c (iq2000_va_start): Update.
+	(compute_frame_size): Update.
+	* config/mt/mt.c (mt_compute_frame_size): Update.
+	* config/mn10300/mn10300.c (expand_prologue): Update.
+	(expand_epilogue): Update.
+	(initial_offset): Update.
+	(mn10300_builtin_saveregs):
+	* config/mn10300/mn10300.md (return expander): Update.
+	* config/ia64/ia64.c (ia64_compute_frame_size): Update.
+	(ia64_initial_elimination_offset): Update.
+	(ia64_initial_elimination_offset): Update.
+	(ia64_expand_prologue): Update.
+	* config/m68k/m68k.md (return expander): Update.
+	* config/rs6000/rs6000.c (rs6000_va_start): Update.
+	(rs6000_stack_info): Update.
+	* config/mcore/mcore.c (layout_mcore_frame): Update.
+	(mcore_expand_prolog): Update.
+	* config/arc/arc.c (arc_compute_frame_size): Update.
+	* config/score/score3.c (score3_compute_frame_size): Update.
+	* config/score/score7.c (score7_compute_frame_size): Update.
+	* config/arm/arm.c (use_return_insn): Update.
+	(thumb_find_work_register): Update.
+	(arm_compute_save_reg_mask): Update.
+	(arm_output_function_prologue): Update.
+	(arm_output_epilogue): Update.
+	(arm_size_return_regs): Update.
+	(arm_get_frame_offsets): Update.
+	(arm_expand_prologue): Update.
+	(thumb_exit): Update.
+	(thumb_unexpanded_epilogue): Update.
+	(thumb1_output_function_prologue): Update.
+	* config/pa/pa.md (return expander): Update.
+	* config/pa/pa.c (compute_frame_size): Update.
+	(hppa_builtin_saveregs): Update.
+	* config/mips/mips.c (mips_va_start): Update.
+	(mips16_build_function_stub): Update.
+	(mips_compute_frame_info): Update.
+	(mips_restore_gp): Update.
+	(mips_output_function_prologue): Update.
+	(mips_expand_prologue): Update.
+	* config/v850/v850.c (compute_frame_size): Update.
+	(expand_prologue): * config/mmix/mmix.c (along): update.
+	(mmix_initial_elimination_offset): update.
+	(mmix_reorg): update.
+	(mmix_use_simple_return): update.
+	(mmix_expand_prologue): update.
+	(mmix_expand_epilogue): Update.
+	* config/bfin/bfin.c (bfin_initial_elimination_offset): Update.
+	(emit_link_insn): Update.
+
 2008-04-08  Anatoly Sokolov <aesok@post.ru>
 
 	* config/avr/avr.h (TARGET_CPU_CPP_BUILTINS): Define 


The results can be reproduced by building a compiler with

--enable-gather-detailed-mem-stats targetting x86-64

and compiling preprocessed combine.c or testcase from PR8632 with:

-fmem-report --param=ggc-min-heapsize=1024 --param=ggc-min-expand=1 -Ox -Q

The memory consumption summary appears in the dump after detailed listing
of the places they are allocated in.  Peak memory consumption is actually
computed by looking for maximal value in {GC XXXX -> YYYY} report.

Your testing script.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]