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:
    Overall memory needed: 7383k -> 7410k
    Peak memory use before GGC: 2260k
    Peak memory use after GGC: 1949k
    Maximum of released memory in single GGC run: 311k
    Garbage: 446k -> 446k
    Leak: 2283k
    Overhead: 456k -> 456k
    GGC runs: 3

comparing empty function compilation at -O0 -g level:
    Overall memory needed: 7399k -> 7426k
    Peak memory use before GGC: 2288k
    Peak memory use after GGC: 1977k
    Maximum of released memory in single GGC run: 311k
    Garbage: 449k -> 449k
    Leak: 2316k
    Overhead: 461k -> 461k
    GGC runs: 3

comparing empty function compilation at -O1 level:
    Overall memory needed: 7511k -> 7510k
    Peak memory use before GGC: 2260k
    Peak memory use after GGC: 1949k
    Maximum of released memory in single GGC run: 311k
    Garbage: 452k -> 452k
    Leak: 2286k
    Overhead: 457k -> 457k
    GGC runs: 4

comparing empty function compilation at -O2 level:
    Overall memory needed: 7519k -> 7578k
    Peak memory use before GGC: 2261k
    Peak memory use after GGC: 1950k
    Maximum of released memory in single GGC run: 311k
    Garbage: 455k -> 455k
    Leak: 2286k
    Overhead: 457k -> 457k
    GGC runs: 4

comparing empty function compilation at -O3 level:
    Overall memory needed: 7519k -> 7578k
    Peak memory use before GGC: 2261k
    Peak memory use after GGC: 1950k
    Maximum of released memory in single GGC run: 311k
    Garbage: 455k -> 455k
    Leak: 2286k
    Overhead: 457k -> 457k
    GGC runs: 4

comparing combine.c compilation at -O0 level:
  Overall memory allocated via mmap and sbrk increased from 17723k to 23854k, overall 34.59%
  Peak amount of GGC memory allocated before garbage collecting increased from 9262k to 9307k, overall 0.49%
  Amount of produced GGC garbage increased from 37116k to 37695k, overall 1.56%
    Overall memory needed: 17723k -> 23854k
    Peak memory use before GGC: 9262k -> 9307k
    Peak memory use after GGC: 8849k -> 8826k
    Maximum of released memory in single GGC run: 2578k -> 2623k
    Garbage: 37116k -> 37695k
    Leak: 6578k
    Overhead: 5053k -> 5250k
    GGC runs: 282

comparing combine.c compilation at -O0 -g level:
  Overall memory allocated via mmap and sbrk increased from 19863k to 25830k, overall 30.04%
  Peak amount of GGC memory allocated before garbage collecting increased from 10877k to 11115k, overall 2.19%
  Peak amount of GGC memory still allocated after garbage collecting increased from 10509k to 10578k, overall 0.66%
  Amount of produced GGC garbage increased from 37681k to 38229k, overall 1.46%
  Amount of memory still referenced at the end of compilation increased from 9463k to 9487k, overall 0.25%
    Overall memory needed: 19863k -> 25830k
    Peak memory use before GGC: 10877k -> 11115k
    Peak memory use after GGC: 10509k -> 10578k
    Maximum of released memory in single GGC run: 2351k -> 2597k
    Garbage: 37681k -> 38229k
    Leak: 9463k -> 9487k
    Overhead: 5759k -> 5956k
    GGC runs: 269 -> 270

comparing combine.c compilation at -O1 level:
  Overall memory allocated via mmap and sbrk increased from 35243k to 43862k, overall 24.46%
  Amount of produced GGC garbage increased from 56820k to 57658k, overall 1.47%
    Overall memory needed: 35243k -> 43862k
    Peak memory use before GGC: 19331k -> 19332k
    Peak memory use after GGC: 19125k
    Maximum of released memory in single GGC run: 2177k -> 2092k
    Garbage: 56820k -> 57658k
    Leak: 6607k
    Overhead: 6313k -> 6518k
    GGC runs: 353

comparing combine.c compilation at -O2 level:
  Overall memory allocated via mmap and sbrk increased from 38383k to 44114k, overall 14.93%
    Overall memory needed: 38383k -> 44114k
    Peak memory use before GGC: 19369k -> 19371k
    Peak memory use after GGC: 19177k
    Maximum of released memory in single GGC run: 2170k -> 2123k
    Garbage: 69327k -> 69131k
    Leak: 6739k -> 6726k
    Overhead: 8177k -> 8271k
    GGC runs: 407 -> 408

comparing combine.c compilation at -O3 level:
  Overall memory allocated via mmap and sbrk increased from 42675k to 44986k, overall 5.42%
    Overall memory needed: 42675k -> 44986k
    Peak memory use before GGC: 19559k -> 19528k
    Peak memory use after GGC: 19263k -> 19259k
    Maximum of released memory in single GGC run: 3644k -> 3035k
    Garbage: 90843k -> 89137k
    Leak: 6845k -> 6842k
    Overhead: 11195k -> 11098k
    GGC runs: 430

comparing insn-attrtab.c compilation at -O0 level:
  Overall memory allocated via mmap and sbrk increased from 102975k to 176314k, overall 71.22%
  Peak amount of GGC memory allocated before garbage collecting increased from 68624k to 69575k, overall 1.39%
  Amount of produced GGC garbage increased from 130923k to 133955k, overall 2.32%
    Overall memory needed: 102975k -> 176314k
    Peak memory use before GGC: 68624k -> 69575k
    Peak memory use after GGC: 44728k -> 44189k
    Maximum of released memory in single GGC run: 36429k -> 37380k
    Garbage: 130923k -> 133955k
    Leak: 9581k
    Overhead: 16927k -> 17418k
    GGC runs: 212 -> 216

comparing insn-attrtab.c compilation at -O0 -g level:
  Overall memory allocated via mmap and sbrk increased from 104211k to 177826k, overall 70.64%
  Peak amount of GGC memory allocated before garbage collecting increased from 69786k to 70736k, overall 1.36%
  Amount of produced GGC garbage increased from 132142k to 135178k, overall 2.30%
    Overall memory needed: 104211k -> 177826k
    Peak memory use before GGC: 69786k -> 70736k
    Peak memory use after GGC: 45996k -> 45456k
    Maximum of released memory in single GGC run: 36430k -> 37380k
    Garbage: 132142k -> 135178k
    Leak: 11289k
    Overhead: 17324k -> 17815k
    GGC runs: 209 -> 215

comparing insn-attrtab.c compilation at -O1 level:
  Overall memory allocated via mmap and sbrk increased from 145583k to 226034k, overall 55.26%
  Amount of produced GGC garbage increased from 264950k to 270335k, overall 2.03%
    Overall memory needed: 145583k -> 226034k
    Peak memory use before GGC: 85946k
    Peak memory use after GGC: 80068k
    Maximum of released memory in single GGC run: 32841k -> 32274k
    Garbage: 264950k -> 270335k
    Leak: 9401k
    Overhead: 27688k -> 28644k
    GGC runs: 227 -> 232

comparing insn-attrtab.c compilation at -O2 level:
  Overall memory allocated via mmap and sbrk increased from 208383k to 260930k, overall 25.22%
  Amount of produced GGC garbage increased from 301264k to 304277k, overall 1.00%
    Overall memory needed: 208383k -> 260930k
    Peak memory use before GGC: 87233k
    Peak memory use after GGC: 80138k
    Maximum of released memory in single GGC run: 30051k -> 30047k
    Garbage: 301264k -> 304277k
    Leak: 9399k -> 9399k
    Overhead: 33355k -> 34094k
    GGC runs: 248 -> 252

comparing insn-attrtab.c compilation at -O3 level:
  Overall memory allocated via mmap and sbrk increased from 201683k to 260962k, overall 29.39%
  Amount of produced GGC garbage increased from 301924k to 304937k, overall 1.00%
    Overall memory needed: 201683k -> 260962k
    Peak memory use before GGC: 87247k
    Peak memory use after GGC: 80152k
    Maximum of released memory in single GGC run: 30112k -> 30108k
    Garbage: 301924k -> 304937k
    Leak: 9404k -> 9404k
    Overhead: 33556k -> 34295k
    GGC runs: 247 -> 255

comparing Gerald's testcase PR8361 compilation at -O0 level:
  Overall memory allocated via mmap and sbrk increased from 147355k to 152924k, overall 3.78%
  Amount of produced GGC garbage increased from 207957k to 210393k, overall 1.17%
    Overall memory needed: 147355k -> 152924k
    Peak memory use before GGC: 90241k
    Peak memory use after GGC: 89347k
    Maximum of released memory in single GGC run: 17774k
    Garbage: 207957k -> 210393k
    Leak: 49207k -> 49212k
    Overhead: 23912k -> 24724k
    GGC runs: 410 -> 414

comparing Gerald's testcase PR8361 compilation at -O0 -g level:
  Overall memory allocated via mmap and sbrk increased from 165179k to 174476k, overall 5.63%
  Amount of produced GGC garbage increased from 214473k to 216926k, overall 1.14%
    Overall memory needed: 165179k -> 174476k
    Peak memory use before GGC: 102847k
    Peak memory use after GGC: 101829k
    Maximum of released memory in single GGC run: 18128k
    Garbage: 214473k -> 216926k
    Leak: 72521k -> 72526k
    Overhead: 29809k -> 30621k
    GGC runs: 385 -> 387

comparing Gerald's testcase PR8361 compilation at -O1 level:
  Overall memory allocated via mmap and sbrk increased from 141832k to 151693k, overall 6.95%
  Amount of produced GGC garbage increased from 344866k to 346851k, overall 0.58%
    Overall memory needed: 141832k -> 151693k
    Peak memory use before GGC: 101813k -> 101826k
    Peak memory use after GGC: 100801k -> 100807k
    Maximum of released memory in single GGC run: 17236k
    Garbage: 344866k -> 346851k
    Leak: 49940k -> 49932k
    Overhead: 30477k -> 31040k
    GGC runs: 528 -> 532

comparing Gerald's testcase PR8361 compilation at -O2 level:
  Overall memory allocated via mmap and sbrk increased from 143952k to 152849k, overall 6.18%
    Overall memory needed: 143952k -> 152849k
    Peak memory use before GGC: 102421k -> 102425k
    Peak memory use after GGC: 101406k -> 101409k
    Maximum of released memory in single GGC run: 17233k
    Garbage: 376488k -> 375773k
    Leak: 51028k -> 50979k
    Overhead: 34807k -> 35069k
    GGC runs: 566 -> 567

comparing Gerald's testcase PR8361 compilation at -O3 level:
Testing has produced no results

comparing PR rtl-optimization/28071 testcase compilation at -O0 level:
  Overall memory allocated via mmap and sbrk increased from 244784k to 346054k, overall 41.37%
  Amount of produced GGC garbage increased from 142196k to 145522k, overall 2.34%
    Overall memory needed: 244784k -> 346054k
    Peak memory use before GGC: 80960k -> 80790k
    Peak memory use after GGC: 58699k -> 58528k
    Maximum of released memory in single GGC run: 44133k -> 43963k
    Garbage: 142196k -> 145522k
    Leak: 7611k
    Overhead: 24559k -> 26212k
    GGC runs: 79 -> 74

comparing PR rtl-optimization/28071 testcase compilation at -O0 -g level:
  Overall memory allocated via mmap and sbrk increased from 245588k to 346942k, overall 41.27%
  Amount of produced GGC garbage increased from 142367k to 145803k, overall 2.41%
    Overall memory needed: 245588k -> 346942k
    Peak memory use before GGC: 81606k -> 81435k
    Peak memory use after GGC: 59345k -> 59174k
    Maximum of released memory in single GGC run: 44122k -> 43951k
    Garbage: 142367k -> 145803k
    Leak: 9378k
    Overhead: 25054k -> 26708k
    GGC runs: 89 -> 84

comparing PR rtl-optimization/28071 testcase compilation at -O1 level:
  Overall memory allocated via mmap and sbrk increased from 244243k to 312430k, overall 27.92%
  Peak amount of GGC memory allocated before garbage collecting increased from 84278k to 85020k, overall 0.88%
  Amount of produced GGC garbage increased from 221623k to 225118k, overall 1.58%
    Overall memory needed: 244243k -> 312430k
    Peak memory use before GGC: 84278k -> 85020k
    Peak memory use after GGC: 74845k
    Maximum of released memory in single GGC run: 36137k -> 35652k
    Garbage: 221623k -> 225118k
    Leak: 20854k
    Overhead: 30444k -> 32048k
    GGC runs: 81 -> 78

comparing PR rtl-optimization/28071 testcase compilation at -O2 level:
  Overall memory allocated via mmap and sbrk increased from 497511k to 562846k, overall 13.13%
  Amount of produced GGC garbage increased from 228671k to 235003k, overall 2.77%
    Overall memory needed: 497511k -> 562846k
    Peak memory use before GGC: 79831k
    Peak memory use after GGC: 74845k
    Maximum of released memory in single GGC run: 33438k -> 33317k
    Garbage: 228671k -> 235003k
    Leak: 20944k -> 20944k
    Overhead: 32527k -> 34675k
    GGC runs: 91 -> 88

comparing PR rtl-optimization/28071 testcase compilation at -O3 -fno-tree-pre -fno-tree-fre level:
Testing has produced no results

Head of the ChangeLog is:

--- /usr/src/SpecTests/sandbox-britten-memory/x86_64/mem-result/ChangeLog	2007-03-23 12:33:38.000000000 +0000
+++ /usr/src/SpecTests/sandbox-britten-memory/gcc/gcc/ChangeLog	2007-03-24 02:27:20.000000000 +0000
@@ -1,365 +1,3 @@
-2007-03-22  Richard Henderson  <rth@redhat.com>
-
-	* config/i386/i386.c (ix86_function_regparm): Early exit for 64-bit;
-	don't increase local_regparm with force_align_arg_pointer check.
-	(ix86_function_sseregparm): Assert 32-bit.
-	(type_has_variadic_args_p): New.
-	(ix86_return_pops_args): Early exit for 64-bit.  Reindent; use
-	type_has_variadic_args_p.
-	(ix86_function_arg_regno_p): Use == 0 instead of ! test for eax.
-	(init_cumulative_args): Remove TARGET_DEBUG_ARG.  Remove zero_cum;
-	use memset instead.  Do maybe_vaarg check first; skip attribute
-	tests if true; skip attribute tests for 64-bit.
-	(construct_container): Remove TARGET_DEBUG_ARG.
-	(function_arg_advance_32, function_arg_advance_64): Split out ...
-	(function_arg_advance): ... from here.
-	(function_arg_32, function_arg_64): Split out ...
-	(function_arg): ... from here.
-	(ix86_pass_by_reference): Tidy.
-	(ix86_function_value_regno_p): Rearrange w/ switch on regno.
-	(function_value_32): New, from parts of ix86_function_value
-	and ix86_value_regno.
-	(function_value_64): New, from parts of ix86_function_value
-	and ix86_libcall_value.
-	(ix86_function_value_1): New.
-	(ix86_function_value, ix86_libcall_value): Use it.
-	(return_in_memory_32, return_in_memory_64): Split out ...
-	(ix86_return_in_memory): ... from here.
-	(ix86_struct_value_rtx): Skip for 64-bit.
-	(ix86_libcall_value, ix86_value_regno): Remove.
-	(setup_incoming_varargs_64): Split out ...
-	(ix86_setup_incoming_varargs): ... from here.
-	(ix86_va_start): Remove TARGET_DEBUG_ARG.
-	(legitimate_address_p, legitimize_address): Remove TARGET_DEBUG_ADDR.
-	* config/i386/i386-protos.h (ix86_function_value): Remove.
-	* config/i386/i386.opt (TARGET_DEBUG_ADDR, TARGET_DEBUG_ARG): Remove.
-
-2007-03-22  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
-
-	PR other/23572
-	* c-lex.c (interpret_float): On overflow, emit pedantic warning if
-	infinities not supported, otherwise emit warning if -Woverflow. On
-	underflow, emit warning if -Woverflow.
-	* real.c (real_from_string): Return -1 if underflow, +1 if overflow
-	and 0 otherwise.
-	* real.h (real_from_string): Update declaration
-	
-2007-03-22  Kai Tietz  <kai.tietz@onevision.com>
-	    Richard Henderson  <rth@redhat.com>
-
-	* defaults.h (OUTGOING_REG_PARM_STACK_SPACE): Provide default.
-	* calls.c (compute_argument_block_size, expand_call,
-	emit_library_call_value_1): Don't ifdef OUTGOING_REG_PARM_STACK_SPACE.
-	* expr.c (block_move_libcall_safe_for_call_parm): Likewise.
-	* function.c (STACK_DYNAMIC_OFFSET): Likewise.
-	* doc/tm.texi (OUTGOING_REG_PARM_STACK_SPACE): Update.
-	* config/alpha/unicosmk.h, config/bfin/bfin.h, config/iq2000/iq2000.h,
-	config/mips/mips.h, config/mn10300/mn10300.h, config/mt/mt.h,
-	config/pa/pa.h, config/rs6000/rs6000.h, config/score/score.h,
-	config/spu/spu.h, config/v850/v850.h (OUTGOING_REG_PARM_STACK_SPACE):
-	Set to 1.
-
-2007-03-22  Joseph Myers  <joseph@codesourcery.com>
-
-	* c-incpath.c (add_sysroot_to_chain): New.
-	(merge_include_chains): Add sysroot argument.  Call
-	add_sysroot_to_chain if sysrooted.
-	(register_include_chains): Update call to merge_include_chains.
-	* doc/cppopts.texi: Document use of '=' in include directory
-	arguments.
-
-2007-03-22  Uros Bizjak  <ubizjak@gmail.com>
-
-	* config/i386/i386.md (cmp<mode>): Rename from cmpsf and cmpdf.
-	Macroize expander using SSEMODEF mode macro.  Use SSE_FLOAT_MODE_P.
-	(*cmpfp_<mode>): Rename from *cmpfp_sf and *cmpfp_df. Macroize
-	insn pattern using X87MODEF12 mode macro.
-	
-2007-03-21  Seongbae Park <seongbae.park@gmail.com>
-
-	* regmove.c (regmove_optimize): Use reg_mentioned_p
-	instead of reg_overlap_mentioned_p for DST.
-
-2007-03-21  Mike Stump  <mrs@apple.com>
-
-	* c.opt: Fixup for Objective-C/C++.
-
-2007-03-21  Steve Ellcey  <sje@cup.hp.com>
-
-	* explow.c (convert_memory_address): Fold memory reference when
-	POINTERS_EXTEND_UNSIGNED < 0
-
-2007-03-21  Richard Henderson  <rth@redhat.com>
-
-	PR target/31245
-	* config/i386/emmintrin.h (__m128i, __m128d): Mark may_alias.
-	* config/i386/mmintrin.h (__m64): Likewise.
-	* config/i386/xmmintrin.h (__m128): Likewise.
-
-2007-03-21  Richard Sandiford  <richard@codesourcery.com>
-
-	* config/vxworks.h (VXWORKS_ADDITIONAL_CPP_SPEC): Remove -D options.
-	(VXWORKS_OS_CPP_BUILTINS): Define.
-	* config/i386/vxworks.h (VXWORKS_CPU_DEFINE): Fold into...
-	(TARGET_OS_CPP_BUILTINS): ...here.  Use VXWORKS_OS_CPP_BUILTINS.
-
-2007-03-21  Richard Sandiford  <richard@codesourcery.com>
-
-	* rtl.h (constant_pool_reference_p): Delete.
-	(find_constant_src): Declare.
-	* rtlanal.c (find_constant_src): New function.
-	* simplify-rtx.c (constant_pool_reference_p): Delete.
-	* config/i386/i386.md: Use find_constant_src instead of
-	constant_pool_reference_p/avoid_constant_pool_reference pairs.
-
-2007-03-21  Richard Sandiford  <richard@codesourcery.com>
-
-	* doc/invoke.texi (-fpie, -fPIE): Document __pie__ and __PIE__.
-	* c-cppbuiltin.c (c_cpp_builtins): Define them.
-
-2007-03-20  Mark Mitchell  <mark@codesourcery.com>
-
-	* config/arm/elf.h (TARGET_ASM_DESTRUCTOR): Define.
-	* config/arm/arm.c (arm_elf_asm_cdtor): New function.
-	(arm_elf_asm_constructor): Use it.
-	(arm_elf_asm_destructor): New function.
-
-2007-03-20  Bernd Schmidt  <bernd.schmidt@analog.com>
-
-	* jump.c (mark_jump_label): Treat SEQUENCE specially.
-
-2007-03-20  Nathan Sidwell  <nathan@codesourcery.com>
-
-	* config/vxlib.c (tls_delete_hook): Use TCB for kernel tasks.
-
-2007-03-19  Andrew Haley  <aph@redhat.com>
-
-	PR tree-optimization/31264
-	* tree-vrp.c (register_edge_assert_for_1): Don't look though
-	VIEW_CONVERT_EXPRs.
-
-2007-03-19  Paolo Bonzini  <bonzini@gnu.org>
-
-	PR rtl-optimization/30907
-	* fwprop.c (forward_propagate_into): Never propagate inside a loop.
-	(fwprop_init): Always call loop_optimizer_initialize.
-	(fwprop_done): Always call loop_optimizer_finalize.
-	(fwprop): We always have loop info now.
-	(gate_fwprop_addr): Remove.
-	(pass_fwprop_addr): Use gate_fwprop as gate.
-
-	PR rtl-optimization/30841
-	* df-problems.c (df_ru_local_compute, df_rd_local_compute,
-	df_chain_alloc): Call df_reorganize_refs unconditionally.
-	* df-scan.c (df_rescan_blocks, df_reorganize_refs): Change
-	refs_organized to refs_organized_size.
-	(df_ref_create_structure): Use refs_organized_size instead of
-	bitmap_size if refs had been organized, and keep refs_organized_size
-	up-to-date.
-	* df.h (struct df_ref_info): Change refs_organized to
-	refs_organized_size.
-	(DF_DEFS_SIZE, DF_USES_SIZE): Use refs_organized_size instead of
-	bitmap_size.
-
-2007-03-19  Mark Mitchell  <mark@codesourcery.com>
-
-	* except.c (output_function_exception_table): Do not reference the
-	EH personality routine for functions that do not require an
-	exception table.
-
-2007-03-20  Jakub Jelinek  <jakub@redhat.com>
-
-	PR c/30762
-	* c-typeck.c (convert_for_assignment): Call comptypes for
-	RECORD_TYPE or UNION_TYPE.
-
-	PR inline-asm/30505
-	* reload1.c (reload): Do invalid ASM checking after
-	cleanup_subreg_operands.
-
-2007-03-19  Jeff Law  <law@redhat.com>
-
-	* tree-cfg.c (find_taken_edge): Tighten conditions for
-	optimizing computed gotos.
-
-2007-03-19  Michael Matz  <matz@suse.de>
-
-	* builtins.c (expand_builtin_sync_operation,
-	expand_builtin_compare_and_swap,
-	expand_builtin_lock_test_and_set): Care for extending CONST_INTs
-	correctly.
-
-	* config/i386/sync.md (sync_double_compare_and_swapdi_pic,
-	sync_double_compare_and_swap_ccdi_pic): Use "SD" as constraint
-	for operand 3.
-
-2007-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>
-
-	* doc/tm.texi: Add brackets around the return type of
-	TARGET_SECONDARY_RELOAD.
-
-2007-03-19  Andrew Pinski  <andrew_pinski@playstation.sony.com>
-	Richard Guenther  <rguenther@suse.de>
-
-	PR tree-optimization/31254
-	* tree-ssa-forwprop.c (forward_propagate_addr_expr_1):
-	Use handled_component_p () where appropriate.  Continue
-	propagating into the rhs if we propagated into an INDIRECT_REF
-	on the lhs.
-
-2007-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>
-
-	* config/s390/s390.md (op_type attribute): RRR instruction type added.
-	(FP, DFP, SD_SF, DD_DF, TD_TF): New mode macros.
-	(xde, xdee): Mode attributes adjusted to support DFP modes.
-	(RRer, f0, op1, Rf, bt, bfp, HALF_TMODE): New mode attributes added.
-	("cmp<mode>", "*cmp<mode>_css_0", "*cmp<mode>_ccs", TF move splitters,
-	DF move splitters, "floatdi<mode>2", "add<mode>3", "*add<mode>3", 
-	"*add<mode>3_cc", "*add<mode>3_cconly", "sub<mode>3", "*sub<mode>3",
-	"*sub<mode>3_cc", "*sub<mode>3_cconly", "mul<mode>3", "*mul<mode>3",
-	"div<mode>3", "*div<mode>3", "*neg<mode>2_nocc", "*abs<mode>2_nocc",
-	"*negabs<mode>2_nocc", "copysign<mode>3"): Adjusted to support DFP 
-	numbers.
-	("*movtf_64", "*movtf_31", "*movdf_64dfp", "*movdf_64", "*movdf_31",
-	"movsf"): Insn definitions removed.
-	("*mov<mode>_64", "*mov<mode>_31", "mov<mode>", "*mov<mode>_64dfp",
-	"*mov<mode>_64", "*mov<mode>_31", "fix_trunc<DFP:mode>di2",
-	"trunctddd2", "truncddsd2", "extendddtd2", "extendsddd2"): Insn
-	definitions added.
-	("fixuns_truncdddi2", "fixuns_trunctddi2", "mov<mode>",
-	"reload_in<mode>", "reload_out<mode>"): Expander added.
-	("movtf", "movdf", "reload_outtf", "reload_outdf", "reload_intf"):
-	Expander removed.
-
-2007-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>
-
-	* config/s390/s390.md: Only non-functional changes.  Renamed
-	FPR mode macro to BFP all over the file.
-
-2007-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>
-
-	* config/s390/s390.md (UNSPEC_COPYSIGN): New constant.
-	(op_type attribute): RRF instruction type added.
-	(fT0): New mode attribute.
-	("*movdi_64dfp", "*movdf_64dfp", "*neg<mode>2_nocc", "*abs<mode>2_nocc",
-	"*negabs<mode>2_nocc", "copysign<mode>3"): Insn definitions added.
-	* config/s390/s390.h (SECONDARY_MEMORY_NEEDED): Due to a new instruction
-	no secondary memory is needed when moving DFmode values between GPRs
-	and FPRs.
-
-2007-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>
-
-	* config/s390/s390.opt ("mhard-float", "msoft-float"): Bit value
-	inverted and documentation adjusted.
-	("mhard-dfp", "msoft-dfp"): New options.
-	* config/s390/s390.c (s390_handle_arch_option): New architecture
-	switch: z9-ec.
-	(override_options): Sanity checks for the new options added.
-	* config.gcc: New architecture switch: z9-ec.
-	* config/s390/s390.h (processor_flags): PF_DFP added.
-	(TARGET_CPU_DFP, TARGET_DFP): Macro definitions added.
-	(TARGET_DEFAULT): Due to the s390.opt changes hard float is enabled
-	when the bit is NOT set so remove it from the defaults.
-
-2007-03-19  Andreas Krebbel  <krebbel1@de.ibm.com>
-
-	* genemit.c (main): Print include statement for dfp.h.
-	* dfp.h (decimal_real_arithmetic): Hide prototype if tree_code enum
-	is not available.
-
-2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
-
-	* config/cris/t-elfmulti (EXTRA_MULTILIB_PARTS): Do not define here.
-
-2007-03-19  Kaz Kojima  <kkojima@gcc.gnu.org>
-
-	PR target/31022
-	* config/sh/sh.c (sh_adjust_cost): Use the result of single_set
-	instead of PATTERN.
-
-2007-03-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-	* pa.c (output_deferred_plabels, output_bb, output_millicode_call,
-	attr_length_call, output_call, output_indirect_call): Cleanup
-	formatting of targetm calls.
-
-2007-03-19  Hans-Peter Nilsson  <hp@axis.com>
-
-	* config/cris/cris.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define to 1.
-
-2007-03-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-	* pa.md: Add fpstore_load and store_fpload instruction types.  Provide
-	reservation, bypass and anti-bypass descriptions for these instructions.
-	Update move patterns.
-	* pa.c (hppa_fpstore_bypass_p): Check for both TYPE_FPSTORE_LOAD and
-	TYPE_FPSTORE.
-	
-2007-03-18  Dorit Nuzman  <dorit@il.ibm.com>
-
-	* tree-vect-transform.c (get_initial_def_for_induction): Replace
-	GET_MODE_NUNITS with TYPE_VECTOR_SUBPARTS.
-	(get_initial_def_for_reduction): Likewise.
-
-2007-03-16  Daniel Berlin  <dberlin@dberlin.org>
-
-	Fix PR tree-optimization/29922
-	* tree-ssa-pre.c (bb_bitmap_sets): Remove RVUSE_* members.
-	(get_representative): Removed.
-	(value_dies_in_block_x): Update for rvuse removal.
-	(valid_in_sets): Update for renaming of vuses_dies_in_block_x.
-	(compute_antic_aux): Handle when PHI nodes appear in
-	non-single-successors. 
-	(dump_bitmap_of_names): Removed.
-	(compute_antic_safe): Renamed and removed rvuse calculation.
-	Calculate only antic safe.
-	(insert_into_preds_of_block): Remove assert.
-	(execute_pre): Update for renamed functions.
-	(defer_or_phi_translate_block): New function.
-	
-2007-03-17  Kazu Hirata  <kazu@codesourcery.com>
-
-	* config/arm/arm.c, config/arm/thumb2.md, config/m68k/m68k.c,
-	config/spu/spu.c, omega.h, passes.c, predict.c: Fix comment
-	typos.
-	* doc/cpp.texi, doc/extend.texi, doc/invoke.texi: Fix typos.
-	Follow spelling conventions.
-
-	* tree-data-ref.h: Remove the prototype for analyze_array.
-
-2007-03-17  Dorit Nuzman  <dorit@il.ibm.com>
-
-	PR tree-optimization/31041
-	* tree-vect-transform.c (get_initial_def_for_induction): Call
-	force_gimple_operand.
-	
-2007-03-17  Olga Golovanevsky  <olga@il.ibm.com>
-  
-  	* ipa-type-escape.c (look_for_casts) : Revert code to use
-	handled_component_p due to ada test a-numaux.adb.
-
-2007-03-17  Kazu Hirata  <kazu@codesourcery.com>
-
-	* final.c (final_scan_insn): Alter the condition of a
-	conditional trap if we have nonstandard CC.
-
-2007-03-16  Alexandre Oliva  <aoliva@redhat.com>
-
-	* configure.ac: Remove excess quoting from asm line 0 test.
-	* configure: Rebuilt.
-
-2007-03-16  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
-
-	* doc/invoke.texi (-Wconversion): Document warnings specific to C++.
-	* c-common.c (convert_and_check): Move warning logic to...
-	(warnings_for_convert_and_check): ...here. Define.
-	* c-common.h (warnings_for_convert_and_check): Declare.
-	
-2007-03-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
-
-	* pa.c (attr_length_call): Partially revert change of 2007-03-09.
-	(output_call): Likewise.
-
 2007-03-16  Richard Sandiford  <richard@codesourcery.com>
 
 	* config/vxworks.h (SUPPORTS_INIT_PRIORITY): Define.
--- /usr/src/SpecTests/sandbox-britten-memory/x86_64/mem-result/ChangeLog.cp	2007-03-23 12:33:33.000000000 +0000
+++ /usr/src/SpecTests/sandbox-britten-memory/gcc/gcc/cp/ChangeLog	2007-03-24 02:26:21.000000000 +0000
@@ -1,40 +1,3 @@
-2007-03-22  Mark Mitchell  <mark@codesourcery.com>
-
-	* cp-tree.h (current_tempalte_parms): Improve documentation.
-	* pt.c (current_template_args): Likewise.
-
-	PR c++/30863
-	* parser.c (cp_parser_parse_and_diagnose_invalid_type_name): Do
-	not consume tokens when failing.
-
-2007-03-22  Jim Wilson  <wilson@specifix.com>
-	    Mark Mitchell  <mark@codesourcery.com>
-
-	PR c++/31273
-	* call.c (standard_conversion): Use type_decays_to.  Keep FCODE
-	consistent with FROM.
-
-2007-03-22  Gabriel Dos Reis  <gdr@integrable-solutions.net>
-
-	* error.c (dump_expr): Handle dependent names that designate types.
-	* cxx-pretty-print.c (pp_cxx_unqualified_id): Handle TYPENAME_TYPE.
-
-2007-03-17  Kazu Hirata  <kazu@codesourcery.com>
-
-	* cp-tree.def, parser.c, pt.c: Fix comment typos.
-
-2007-03-16  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
-
-	* cvt.c (cp_convert_and_check) : Define.
-	* cp-tree.h (cp_convert_and_check): Declare.
-	* call.c (convert_conversion_warnings): Rename to
-	conversion_null_warnings.  The warning for floating-point to
-	integer is handled by convert_and_check in convert_like_real.
-	(convert_like_real): convert_conversion_warnings was renamed as
-	conversion_null_warnings.
-	* typeck.c (build_binary_op): Use cp_convert_and_check to warn for
-	overflow and changes of value during conversion.
-
 2007-03-15  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
 
 	PR c++/30891


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]