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:
  Peak amount of GGC memory allocated before garbage collecting increased from 3357k to 3378k, overall 0.63%
  Peak amount of GGC memory still allocated after garbage collecting increased from 3021k to 3029k, overall 0.26%
  Amount of produced GGC garbage increased from 491k to 521k, overall 6.21%
  Amount of memory still referenced at the end of compilation increased from 3754k to 3781k, overall 0.72%
    Overall memory needed: 8331k -> 8333k
    Peak memory use before GGC: 3357k -> 3378k
    Peak memory use after GGC: 3021k -> 3029k
    Maximum of released memory in single GGC run: 336k -> 349k
    Garbage: 491k -> 521k
    Leak: 3754k -> 3781k
    Overhead: 875k -> 911k
    GGC runs: 3

comparing empty function compilation at -O0 -g level:
  Peak amount of GGC memory allocated before garbage collecting increased from 3385k to 3406k, overall 0.62%
  Peak amount of GGC memory still allocated after garbage collecting increased from 3048k to 3056k, overall 0.26%
  Amount of produced GGC garbage increased from 493k to 524k, overall 6.17%
  Amount of memory still referenced at the end of compilation increased from 3787k to 3814k, overall 0.72%
    Overall memory needed: 8347k -> 8349k
    Peak memory use before GGC: 3385k -> 3406k
    Peak memory use after GGC: 3048k -> 3056k
    Maximum of released memory in single GGC run: 337k -> 350k
    Garbage: 493k -> 524k
    Leak: 3787k -> 3814k
    Overhead: 879k -> 916k
    GGC runs: 3

comparing empty function compilation at -O1 level:
  Peak amount of GGC memory allocated before garbage collecting increased from 3357k to 3378k, overall 0.63%
  Peak amount of GGC memory still allocated after garbage collecting increased from 3021k to 3029k, overall 0.26%
  Amount of produced GGC garbage increased from 496k to 527k, overall 6.17%
  Amount of memory still referenced at the end of compilation increased from 3757k to 3784k, overall 0.72%
    Overall memory needed: 8367k -> 8389k
    Peak memory use before GGC: 3357k -> 3378k
    Peak memory use after GGC: 3021k -> 3029k
    Maximum of released memory in single GGC run: 336k -> 349k
    Garbage: 496k -> 527k
    Leak: 3757k -> 3784k
    Overhead: 875k -> 912k
    GGC runs: 3

comparing empty function compilation at -O2 level:
  Peak amount of GGC memory allocated before garbage collecting increased from 3358k to 3379k, overall 0.63%
  Peak amount of GGC memory still allocated after garbage collecting increased from 3021k to 3029k, overall 0.26%
  Amount of produced GGC garbage increased from 500k to 530k, overall 6.13%
  Amount of memory still referenced at the end of compilation increased from 3757k to 3784k, overall 0.72%
    Overall memory needed: 8399k -> 8385k
    Peak memory use before GGC: 3358k -> 3379k
    Peak memory use after GGC: 3021k -> 3029k
    Maximum of released memory in single GGC run: 337k -> 350k
    Garbage: 500k -> 530k
    Leak: 3757k -> 3784k
    Overhead: 876k -> 913k
    GGC runs: 3

comparing empty function compilation at -O3 level:
  Peak amount of GGC memory allocated before garbage collecting increased from 3358k to 3379k, overall 0.63%
  Peak amount of GGC memory still allocated after garbage collecting increased from 3021k to 3029k, overall 0.26%
  Amount of produced GGC garbage increased from 500k to 530k, overall 6.13%
  Amount of memory still referenced at the end of compilation increased from 3757k to 3784k, overall 0.72%
    Overall memory needed: 8399k -> 8385k
    Peak memory use before GGC: 3358k -> 3379k
    Peak memory use after GGC: 3021k -> 3029k
    Maximum of released memory in single GGC run: 337k -> 350k
    Garbage: 500k -> 530k
    Leak: 3757k -> 3784k
    Overhead: 876k -> 913k
    GGC runs: 3

comparing combine.c compilation at -O0 level:
  Peak amount of GGC memory allocated before garbage collecting increased from 10293k to 10321k, overall 0.27%
  Peak amount of GGC memory still allocated after garbage collecting increased from 9510k to 9550k, overall 0.42%
  Amount of produced GGC garbage increased from 38902k to 39080k, overall 0.46%
  Amount of memory still referenced at the end of compilation increased from 8672k to 8838k, overall 1.91%
    Overall memory needed: 23739k -> 23821k
    Peak memory use before GGC: 10293k -> 10321k
    Peak memory use after GGC: 9510k -> 9550k
    Maximum of released memory in single GGC run: 1908k -> 1905k
    Garbage: 38902k -> 39080k
    Leak: 8672k -> 8838k
    Overhead: 5362k -> 5684k
    GGC runs: 251 -> 254

comparing combine.c compilation at -O0 -g level:
  Peak amount of GGC memory allocated before garbage collecting increased from 11956k to 11984k, overall 0.23%
  Peak amount of GGC memory still allocated after garbage collecting increased from 11301k to 11342k, overall 0.36%
  Amount of produced GGC garbage increased from 39211k to 39411k, overall 0.51%
  Amount of memory still referenced at the end of compilation increased from 11565k to 11731k, overall 1.43%
    Overall memory needed: 25623k -> 25693k
    Peak memory use before GGC: 11956k -> 11984k
    Peak memory use after GGC: 11301k -> 11342k
    Maximum of released memory in single GGC run: 1516k -> 1515k
    Garbage: 39211k -> 39411k
    Leak: 11565k -> 11731k
    Overhead: 6068k -> 6390k
    GGC runs: 251 -> 250

comparing combine.c compilation at -O1 level:
  Peak amount of GGC memory allocated before garbage collecting increased from 18940k to 18979k, overall 0.21%
  Peak amount of GGC memory still allocated after garbage collecting increased from 18748k to 18787k, overall 0.21%
  Amount of produced GGC garbage increased from 53248k to 53475k, overall 0.42%
  Amount of memory still referenced at the end of compilation increased from 8730k to 8893k, overall 1.87%
    Overall memory needed: 37483k -> 37561k
    Peak memory use before GGC: 18940k -> 18979k
    Peak memory use after GGC: 18748k -> 18787k
    Maximum of released memory in single GGC run: 1373k -> 1372k
    Garbage: 53248k -> 53475k
    Leak: 8730k -> 8893k
    Overhead: 6483k -> 6813k
    GGC runs: 326 -> 327

comparing combine.c compilation at -O2 level:
  Peak amount of GGC memory allocated before garbage collecting increased from 18994k to 19032k, overall 0.20%
  Peak amount of GGC memory still allocated after garbage collecting increased from 18804k to 18843k, overall 0.21%
  Amount of produced GGC garbage increased from 72402k to 72632k, overall 0.32%
  Amount of memory still referenced at the end of compilation increased from 8847k to 9003k, overall 1.76%
    Overall memory needed: 39519k -> 39593k
    Peak memory use before GGC: 18994k -> 19032k
    Peak memory use after GGC: 18804k -> 18843k
    Maximum of released memory in single GGC run: 1406k -> 1407k
    Garbage: 72402k -> 72632k
    Leak: 8847k -> 9003k
    Overhead: 8789k -> 9121k
    GGC runs: 390 -> 389

comparing combine.c compilation at -O3 level:
  Peak amount of GGC memory allocated before garbage collecting increased from 19246k to 19285k, overall 0.20%
  Peak amount of GGC memory still allocated after garbage collecting increased from 18931k to 18970k, overall 0.21%
  Amount of produced GGC garbage increased from 94312k to 94535k, overall 0.24%
  Amount of memory still referenced at the end of compilation increased from 8960k to 9125k, overall 1.84%
    Overall memory needed: 41839k -> 41881k
    Peak memory use before GGC: 19246k -> 19285k
    Peak memory use after GGC: 18931k -> 18970k
    Maximum of released memory in single GGC run: 2208k
    Garbage: 94312k -> 94535k
    Leak: 8960k -> 9125k
    Overhead: 11529k -> 11879k
    GGC runs: 417 -> 418

comparing insn-attrtab.c compilation at -O0 level:
  Amount of memory still referenced at the end of compilation increased from 11189k to 11328k, overall 1.24%
    Overall memory needed: 143323k -> 143157k
    Peak memory use before GGC: 61019k -> 60809k
    Peak memory use after GGC: 34025k -> 34059k
    Maximum of released memory in single GGC run: 34625k -> 34384k
    Garbage: 132743k -> 132286k
    Leak: 11189k -> 11328k
    Overhead: 14754k -> 14974k
    GGC runs: 196 -> 198

comparing insn-attrtab.c compilation at -O0 -g level:
  Amount of memory still referenced at the end of compilation increased from 12898k to 13053k, overall 1.20%
    Overall memory needed: 144575k -> 144405k
    Peak memory use before GGC: 62181k -> 61971k
    Peak memory use after GGC: 35185k -> 35220k
    Maximum of released memory in single GGC run: 34626k -> 34385k
    Garbage: 132964k -> 132495k
    Leak: 12898k -> 13053k
    Overhead: 15151k -> 15371k
    GGC runs: 200

comparing insn-attrtab.c compilation at -O1 level:
  Amount of memory still referenced at the end of compilation increased from 11321k to 11458k, overall 1.22%
    Overall memory needed: 153715k -> 154617k
    Peak memory use before GGC: 59276k -> 59307k
    Peak memory use after GGC: 55051k -> 55082k
    Maximum of released memory in single GGC run: 23586k
    Garbage: 218540k -> 218169k
    Leak: 11321k -> 11458k
    Overhead: 25174k -> 25405k
    GGC runs: 228 -> 229

comparing insn-attrtab.c compilation at -O2 level:
  Amount of memory still referenced at the end of compilation increased from 11314k to 11452k, overall 1.22%
    Overall memory needed: 192295k -> 193217k
    Peak memory use before GGC: 59158k -> 59189k
    Peak memory use after GGC: 55111k -> 55142k
    Maximum of released memory in single GGC run: 21338k
    Garbage: 254461k -> 254089k
    Leak: 11314k -> 11452k
    Overhead: 30817k -> 31045k
    GGC runs: 253 -> 254

comparing insn-attrtab.c compilation at -O3 level:
  Amount of memory still referenced at the end of compilation increased from 11323k to 11461k, overall 1.22%
    Overall memory needed: 198187k -> 199221k
    Peak memory use before GGC: 71558k -> 71587k
    Peak memory use after GGC: 65945k -> 65975k
    Maximum of released memory in single GGC run: 22949k -> 22948k
    Garbage: 283495k -> 283127k
    Leak: 11323k -> 11461k
    Overhead: 32533k -> 32763k
    GGC runs: 256 -> 257

comparing Gerald's testcase PR8361 compilation at -O0 level:
  Peak amount of GGC memory allocated before garbage collecting increased from 91029k to 91590k, overall 0.62%
  Peak amount of GGC memory still allocated after garbage collecting increased from 90128k to 90672k, overall 0.60%
  Amount of produced GGC garbage increased from 209475k to 210794k, overall 0.63%
  Amount of memory still referenced at the end of compilation increased from 53737k to 55665k, overall 3.59%
    Overall memory needed: 156103k -> 156781k
    Peak memory use before GGC: 91029k -> 91590k
    Peak memory use after GGC: 90128k -> 90672k
    Maximum of released memory in single GGC run: 17977k -> 17986k
    Garbage: 209475k -> 210794k
    Leak: 53737k -> 55665k
    Overhead: 24584k -> 26872k
    GGC runs: 396 -> 397

comparing Gerald's testcase PR8361 compilation at -O0 -g level:
  Peak amount of GGC memory allocated before garbage collecting increased from 103943k to 104480k, overall 0.52%
  Peak amount of GGC memory still allocated after garbage collecting increased from 102913k to 103445k, overall 0.52%
  Amount of produced GGC garbage increased from 215313k to 216645k, overall 0.62%
  Amount of memory still referenced at the end of compilation increased from 77165k to 79094k, overall 2.50%
    Overall memory needed: 177163k -> 177417k
    Peak memory use before GGC: 103943k -> 104480k
    Peak memory use after GGC: 102913k -> 103445k
    Maximum of released memory in single GGC run: 18638k -> 18623k
    Garbage: 215313k -> 216645k
    Leak: 77165k -> 79094k
    Overhead: 30551k -> 32840k
    GGC runs: 373

comparing Gerald's testcase PR8361 compilation at -O1 level:
  Peak amount of GGC memory allocated before garbage collecting increased from 103049k to 103598k, overall 0.53%
  Peak amount of GGC memory still allocated after garbage collecting increased from 101948k to 102497k, overall 0.54%
  Amount of produced GGC garbage increased from 331097k to 333500k, overall 0.73%
  Amount of memory still referenced at the end of compilation increased from 53851k to 55782k, overall 3.59%
    Overall memory needed: 153139k -> 153483k
    Peak memory use before GGC: 103049k -> 103598k
    Peak memory use after GGC: 101948k -> 102497k
    Maximum of released memory in single GGC run: 17387k -> 17379k
    Garbage: 331097k -> 333500k
    Leak: 53851k -> 55782k
    Overhead: 30757k -> 34144k
    GGC runs: 500

comparing Gerald's testcase PR8361 compilation at -O2 level:
  Peak amount of GGC memory allocated before garbage collecting increased from 103627k to 104175k, overall 0.53%
  Peak amount of GGC memory still allocated after garbage collecting increased from 102590k to 103138k, overall 0.53%
  Amount of produced GGC garbage increased from 389298k to 391691k, overall 0.61%
  Amount of memory still referenced at the end of compilation increased from 54540k to 56462k, overall 3.52%
    Overall memory needed: 163811k -> 164071k
    Peak memory use before GGC: 103627k -> 104175k
    Peak memory use after GGC: 102590k -> 103138k
    Maximum of released memory in single GGC run: 17386k -> 17379k
    Garbage: 389298k -> 391691k
    Leak: 54540k -> 56462k
    Overhead: 37471k -> 40883k
    GGC runs: 559 -> 560

comparing Gerald's testcase PR8361 compilation at -O3 level:
  Peak amount of GGC memory allocated before garbage collecting increased from 105921k to 106519k, overall 0.56%
  Peak amount of GGC memory still allocated after garbage collecting increased from 104872k to 105424k, overall 0.53%
  Amount of produced GGC garbage increased from 433035k to 435555k, overall 0.58%
  Amount of memory still referenced at the end of compilation increased from 55234k to 57179k, overall 3.52%
    Overall memory needed: 168343k -> 168675k
    Peak memory use before GGC: 105921k -> 106519k
    Peak memory use after GGC: 104872k -> 105424k
    Maximum of released memory in single GGC run: 17762k -> 17807k
    Garbage: 433035k -> 435555k
    Leak: 55234k -> 57179k
    Overhead: 41160k -> 44679k
    GGC runs: 583 -> 585

comparing PR rtl-optimization/28071 testcase compilation at -O0 level:
  Amount of produced GGC garbage increased from 179419k to 179669k, overall 0.14%
  Amount of memory still referenced at the end of compilation increased from 8939k to 8993k, overall 0.60%
    Overall memory needed: 387671k -> 387679k
    Peak memory use before GGC: 103448k -> 103462k
    Peak memory use after GGC: 59101k -> 59115k
    Maximum of released memory in single GGC run: 50583k
    Garbage: 179419k -> 179669k
    Leak: 8939k -> 8993k
    Overhead: 31381k -> 31650k
    GGC runs: 64 -> 65

comparing PR rtl-optimization/28071 testcase compilation at -O0 -g level:
  Amount of produced GGC garbage increased from 179523k to 179774k, overall 0.14%
  Amount of memory still referenced at the end of compilation increased from 10707k to 10761k, overall 0.50%
    Overall memory needed: 388463k -> 388475k
    Peak memory use before GGC: 104094k -> 104108k
    Peak memory use after GGC: 59748k -> 59762k
    Maximum of released memory in single GGC run: 50582k
    Garbage: 179523k -> 179774k
    Leak: 10707k -> 10761k
    Overhead: 31877k -> 32146k
    GGC runs: 72

comparing PR rtl-optimization/28071 testcase compilation at -O1 level:
  Amount of produced GGC garbage increased from 232802k to 233771k, overall 0.42%
  Amount of memory still referenced at the end of compilation increased from 22376k to 22611k, overall 1.05%
    Overall memory needed: 308175k -> 308189k
    Peak memory use before GGC: 84295k -> 84309k
    Peak memory use after GGC: 75947k -> 75961k
    Maximum of released memory in single GGC run: 39284k
    Garbage: 232802k -> 233771k
    Leak: 22376k -> 22611k
    Overhead: 31894k -> 33063k
    GGC runs: 70 -> 71

comparing PR rtl-optimization/28071 testcase compilation at -O2 level:
  Amount of produced GGC garbage increased from 243851k to 244820k, overall 0.40%
  Amount of memory still referenced at the end of compilation increased from 22457k to 22693k, overall 1.05%
    Overall memory needed: 315083k -> 315433k
    Peak memory use before GGC: 80933k -> 80947k
    Peak memory use after GGC: 75947k -> 75961k
    Maximum of released memory in single GGC run: 33017k
    Garbage: 243851k -> 244820k
    Leak: 22457k -> 22693k
    Overhead: 34447k -> 35616k
    GGC runs: 84 -> 85

comparing PR rtl-optimization/28071 testcase compilation at -O3 -fno-tree-pre -fno-tree-fre level:
  Amount of produced GGC garbage increased from 348399k to 349825k, overall 0.41%
  Amount of memory still referenced at the end of compilation increased from 47832k to 48692k, overall 1.80%
    Overall memory needed: 1031827k -> 1031837k
    Peak memory use before GGC: 184687k -> 184701k
    Peak memory use after GGC: 172203k -> 172217k
    Maximum of released memory in single GGC run: 80995k
    Garbage: 348399k -> 349825k
    Leak: 47832k -> 48692k
    Overhead: 45175k -> 47425k
    GGC runs: 66 -> 67

Head of the ChangeLog is:

--- /usr/src/SpecTests/sandbox-britten-memory/x86_64/mem-result/ChangeLog	2007-07-10 09:24:01.000000000 +0000
+++ /usr/src/SpecTests/sandbox-britten-memory/gcc/gcc/ChangeLog	2007-07-11 01:49:46.000000000 +0000
@@ -1,3 +1,127 @@
+2007-07-09  Geoffrey Keating  <geoffk@apple.com>
+
+	PR 32617
+	* c-common.c (c_alignof_expr): Look at DECL_ALIGN of
+	FUNCTION_DECLs.
+	(handle_aligned_attribute): Allow use on FUNCTION_DECLs.
+	* varasm.c (assemble_start_function): Honor DECL_ALIGN
+	for FUNCTION_DECLs.  Don't use align_functions_log if
+	DECL_USER_ALIGN.
+	* print-tree.c (print_node): Print DECL_ALIGN and DECL_USER_ALIGN
+	even for FUNCTION_DECLs.
+	* c-decl.c (merge_decls): Propagate DECL_ALIGN even for
+	FUNCTION_DECLs.
+	* tree.h (DECL_ALIGN): Update for new location of 'align'.
+	(DECL_FUNCTION_CODE): Update for new location and name of
+	'function_code'.
+	(DECL_OFFSET_ALIGN): Update for new location of 'off_align'.
+	(struct tree_decl_common): Move 'align' and 'off_align' out
+	of union, ensure they're still on a 32-bit boundary.  Remove
+	other fields in union 'u1'.
+	(struct tree_function_decl): Add field 'function_code' replacing
+	'u1.f' in tree_decl_common.
+	* tree.c (build_decl_stat): Set initial value of DECL_ALIGN.
+	* doc/extend.texi (Function Attributes): Add 'aligned' attribute.
+	(Variable Attributes): Cross-reference 'aligned' attribute
+	to Function Attributes.
+	* flags.h (force_align_functions_log): Delete.
+	* toplev.c (force_align_functions_log): Delete.
+
+2007-07-10  Uros Bizjak  <ubizjak@gmail.com>
+
+	PR target/32708
+	* config/i386/sse.md (vec_concatv2di): Disable for TARGET_64BIT.
+	(*vec_concatv2di_rex): New insn pattern.
+
+2007-07-10  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+	PR target/32538
+	* config/mips/iris6.h (LIBGCC_SPEC): Add libm.
+
+2007-07-10  Ian Lance Taylor  <iant@google.com>
+
+	Replace no_new_pseudos in backends.
+	* rtl.h (can_create_pseudo_p): Define.
+	* config/darwin.c (machopic_indirect_data_reference): Use
+	can_create_pseudo_p () instead of no_new_pseudos.
+	(machopic_indirect_data_reference): Likewise.
+	(machopic_legitimize_pic_address): Likewise.
+	* config/alpha/alpha.c (alpha_legitimize_address): Likewise.
+	(alpha_emit_set_const_1): Likewise.
+	(alpha_emit_set_const): Likewise.
+	(alpha_emit_conditional_move): Likewise.
+	(alpha_split_conditional_move): Likewise.
+	* config/alpha/alpha.md (various splitters): Likewise.
+	(movti): Likewise.
+	* config/arm/arm.c (legitimize_pic_address): Likewise.
+	(arm_load_pic_register): Likewise.
+	* config/arm/arm.md (addsi3, subsi3, andsi3, iorsi3): Likewise.
+	(movdi, movsi, movhi, movqi, movsf, movdf): Likewise.
+	* config/bfin/bfin.c (legitimize_pic_address): Likewise.
+	* config/cris/cris.c (cris_expand_pic_call_address): Likewise.
+	* config/cris/cris.md (movsi): Likewise.
+	* config/frv/frv.md (symGOT2reg_hilo): Likewise.
+	(symGOTOFF2reg_hilo): Likewise.
+	(symGPREL2reg, symGPREL2reg_hilo): Likewise.
+	* config/h8300/h8300.md (insv, extzv): Likewise.
+	* config/i386/i386.c (ix86_expand_move): Likewise.
+	(ix86_expand_vector_move): Likewise.
+	(ix86_prepare_fp_compare_args): Likewise.
+	(ix86_expand_carry_flag_compare): Likewise.
+	* config/i386/i386.md (tls_dynamic_gnu2_32): Likewise.
+	(tls_dynamic_gnu2_combine_32): Likewise.
+	(tls_dynamic_gnu2_64, tls_dynamic_gnu2_combine_64): Likewise.
+	* config/ia64/ia64.c (ia64_expand_move): Likewise.
+	(ia64_expand_movxf_movrf): Likewise.
+	* config/m32c/m32c.c (m32c_prepare_move): Likewise.
+	(m32c_split_move): Likewise.
+	(m32c_expand_insv): Likewise.
+	* config/m68k/m68k.md (movsi): Likewise.
+	* config/mips/mips.c (mips_force_temporary): Likewise.
+	(mips_split_symbol): Likewise.
+	(mips_move_integer): Likewise.
+	(mips_legitimize_const_move): Likewise.
+	* config/mn10300/mn10300.md (movsi): Likewise.
+	* config/pa/pa.c (emit_move_sequence): Likewise.
+	* config/rs6000/rs6000.c (rs6000_emit_move): Likewise.
+	(rs6000_got_register): Likewise.
+	(create_TOC_reference): Likewise.
+	(rs6000_machopic_legitimize_pic_address): Likewise.
+	* config/rs6000/rs6000.md (add<mode>3): Likewise.
+	(various splitters): Likewise.
+	(iorsi3, xorsi3, iordi3, xordi3): Likewise.
+	(movsi_got): Likewise.
+	* config/s390/s390.c (emit_symbolic_move): Likewise.
+	* config/s390/s390.md (movhi, movqi): Likewise.
+	(load_multiple, store_multiple): Likewise.
+	* config/score/score.c (score_force_temporary): Likewise.
+	* config/sh/sh.c (prepare_move_operands): Likewise.
+	(prepare_cbranch_operands): Likewise.
+	(emit_fpu_switch): Likewise.
+	(fpscr_set_from_mem): Likewise.
+	* config/sh/sh.md (movdicc, movsicc, movsicc_umin): Likewise.
+	(adddi3, subsi3): Likewise.
+	(various splitters): Likewise.
+	(divsi_inv_fp_combine): Likewise.
+	(symGOT_load, symGOTOFF2reg, symDTPOFF2reg): Likewise.
+	(seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu): Likewise.
+	(sne): Likewise.
+	* config/sh/predicates.md (xor_operand): Likewise.
+	* config/sparc/sparc.c (legitimize_tls_address): Likewise.
+	* config/sparc/sparc.md (movsi_pic_label_ref): Likewise.
+	(movdi_pic_label_ref): Likewise.
+	* config/spu/spu.c (spu_split_immediate): Likewise.
+	* config/alpha/alpha.md (various splitters): Remove test
+	!no_new_pseudos || reload_completed.
+	* config/ia64/ia64.c (ia64_output_mi_thunk): Don't set
+	no_new_pseudos.
+	* config/m68k/m68k.c (m68k_output_mi_thunk): Likewise.
+	* config/mips/mips.c (mips_output_mi_thunk): Likewise.
+	* config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
+	* config/score/score.c (th_output_mi_thunk): Likewise.
+	* config/sh/sh.c (sh_output_mi_thunk): Likewise.
+	* config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
+
 2007-07-10  Kaz Kojima  <kkojima@gcc.gnu.org>
 
 	PR rtl-optimization/32664
@@ -43,8 +167,8 @@
 	* optabs.h: Added declaration for signbit_optab.  
 	* optabs.c: (init_optabs): Added initialization for signbit_optab.
 	* genoptinit.c (optabs): Added entry for signbit insns.  
-	* builtins.c (expand_builtin_signbit): Added code to use a signbit insn,
-	if available.  
+	* builtins.c (expand_builtin_signbit): Added code to use a signbit
+	insn, if available.  
 	* config/s390/s390.h (S390_TDC_SIGNBIT_SET): New constant.  
 	* config/s390/s390.md (signbit<mode>2): New expander.  
 
--- /usr/src/SpecTests/sandbox-britten-memory/x86_64/mem-result/ChangeLog.cp	2007-07-09 16:42:17.000000000 +0000
+++ /usr/src/SpecTests/sandbox-britten-memory/gcc/gcc/cp/ChangeLog	2007-07-11 01:49:41.000000000 +0000
@@ -1,3 +1,12 @@
+2007-07-09  Geoffrey Keating  <geoffk@apple.com>
+
+	PR 32617
+	* decl.c (cxx_init_decl_processing): Don't set
+	force_align_functions_log.
+	(grokfndecl): Honour ptrmemfunc_vbit_in_pfn.
+	* typeck.c (cxx_alignof_expr): When alignof is used on a plain
+	FUNCTION_DECL, return its alignment.
+
 2007-07-09  Richard Guenther  <rguenther@suse.de>
 
 	* decl.c (start_preparsed_function): Do not promote return type.


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]