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: 8151k -> 8152k
    Peak memory use before GGC: 1156k
    Peak memory use after GGC: 1053k
    Maximum of released memory in single GGC run: 131k
    Garbage: 247k
    Leak: 1012k
    Overhead: 91k
    GGC runs: 3
    Pre-IPA-Garbage: 237k
    Pre-IPA-Leak: 1012k
    Pre-IPA-Overhead: 90k
    Post-IPA-Garbage: 237k
    Post-IPA-Leak: 1012k
    Post-IPA-Overhead: 90k

comparing empty function compilation at -O0 -g level:
    Overall memory needed: 8167k -> 8168k
    Peak memory use before GGC: 1184k
    Peak memory use after GGC: 1080k
    Maximum of released memory in single GGC run: 131k
    Garbage: 249k
    Leak: 1045k
    Overhead: 96k
    GGC runs: 3
    Pre-IPA-Garbage: 237k
    Pre-IPA-Leak: 1012k
    Pre-IPA-Overhead: 90k
    Post-IPA-Garbage: 237k
    Post-IPA-Leak: 1012k
    Post-IPA-Overhead: 90k

comparing empty function compilation at -O1 level:
  Amount of produced GGC garbage increased from 249k to 250k, overall 0.44%
    Overall memory needed: 8243k -> 8228k
    Peak memory use before GGC: 1156k
    Peak memory use after GGC: 1053k
    Maximum of released memory in single GGC run: 131k
    Garbage: 249k -> 250k
    Leak: 1012k
    Overhead: 92k -> 92k
    GGC runs: 3
    Pre-IPA-Garbage: 237k
    Pre-IPA-Leak: 1015k
    Pre-IPA-Overhead: 90k
    Post-IPA-Garbage: 237k
    Post-IPA-Leak: 1015k
    Post-IPA-Overhead: 90k

comparing empty function compilation at -O2 level:
  Amount of produced GGC garbage increased from 254k to 256k, overall 0.89%
    Overall memory needed: 8247k -> 8244k
    Peak memory use before GGC: 1156k
    Peak memory use after GGC: 1053k
    Maximum of released memory in single GGC run: 131k
    Garbage: 254k -> 256k
    Leak: 1013k
    Overhead: 93k -> 93k
    GGC runs: 3
    Pre-IPA-Garbage: 237k
    Pre-IPA-Leak: 1015k
    Pre-IPA-Overhead: 90k
    Post-IPA-Garbage: 237k
    Post-IPA-Leak: 1015k
    Post-IPA-Overhead: 90k

comparing empty function compilation at -O3 level:
  Amount of produced GGC garbage increased from 254k to 256k, overall 0.89%
    Overall memory needed: 8247k -> 8248k
    Peak memory use before GGC: 1156k
    Peak memory use after GGC: 1053k
    Maximum of released memory in single GGC run: 131k
    Garbage: 254k -> 256k
    Leak: 1013k
    Overhead: 93k -> 93k
    GGC runs: 3
    Pre-IPA-Garbage: 237k
    Pre-IPA-Leak: 1015k
    Pre-IPA-Overhead: 90k
    Post-IPA-Garbage: 237k
    Post-IPA-Leak: 1015k
    Post-IPA-Overhead: 90k

comparing combine.c compilation at -O0 level:
    Overall memory needed: 29351k -> 29352k
    Peak memory use before GGC: 15004k
    Peak memory use after GGC: 14742k
    Maximum of released memory in single GGC run: 1788k
    Garbage: 38096k
    Leak: 5177k
    Overhead: 4666k
    GGC runs: 357
    Pre-IPA-Garbage: 12909k
    Pre-IPA-Leak: 15352k
    Pre-IPA-Overhead: 2000k
    Post-IPA-Garbage: 12909k
    Post-IPA-Leak: 15352k
    Post-IPA-Overhead: 2000k

comparing combine.c compilation at -O0 -g level:
    Overall memory needed: 31587k -> 31588k
    Peak memory use before GGC: 16864k
    Peak memory use after GGC: 16633k
    Maximum of released memory in single GGC run: 1812k
    Garbage: 38444k
    Leak: 8474k
    Overhead: 5485k
    GGC runs: 339
    Pre-IPA-Garbage: 13009k
    Pre-IPA-Leak: 17627k
    Pre-IPA-Overhead: 2492k
    Post-IPA-Garbage: 13009k
    Post-IPA-Leak: 17627k
    Post-IPA-Overhead: 2492k

comparing combine.c compilation at -O1 level:
    Overall memory needed: 32719k -> 32720k
    Peak memory use before GGC: 16330k
    Peak memory use after GGC: 16165k
    Maximum of released memory in single GGC run: 1412k -> 1404k
    Garbage: 52029k -> 51479k
    Leak: 5166k
    Overhead: 5785k -> 5734k
    GGC runs: 438 -> 436
    Pre-IPA-Garbage: 13944k
    Pre-IPA-Leak: 17181k
    Pre-IPA-Overhead: 2148k
    Post-IPA-Garbage: 13944k
    Post-IPA-Leak: 17181k
    Post-IPA-Overhead: 2148k

comparing combine.c compilation at -O2 level:
    Overall memory needed: 35003k -> 35004k
    Peak memory use before GGC: 16423k
    Peak memory use after GGC: 16258k
    Maximum of released memory in single GGC run: 1341k -> 1334k
    Garbage: 72725k -> 71704k
    Leak: 5198k
    Overhead: 8230k -> 8131k
    GGC runs: 510
    Pre-IPA-Garbage: 14093k
    Pre-IPA-Leak: 17244k
    Pre-IPA-Overhead: 2160k
    Post-IPA-Garbage: 14093k
    Post-IPA-Leak: 17244k
    Post-IPA-Overhead: 2160k

comparing combine.c compilation at -O3 level:
    Overall memory needed: 38807k -> 38804k
    Peak memory use before GGC: 16440k -> 16443k
    Peak memory use after GGC: 16271k
    Maximum of released memory in single GGC run: 2487k -> 2368k
    Garbage: 92226k -> 91210k
    Leak: 5222k
    Overhead: 10551k -> 10453k
    GGC runs: 540
    Pre-IPA-Garbage: 14093k
    Pre-IPA-Leak: 17255k
    Pre-IPA-Overhead: 2162k
    Post-IPA-Garbage: 14093k
    Post-IPA-Leak: 17255k
    Post-IPA-Overhead: 2162k

comparing insn-attrtab.c compilation at -O0 level:
    Overall memory needed: 150751k -> 150752k
    Peak memory use before GGC: 62354k
    Peak memory use after GGC: 52689k
    Maximum of released memory in single GGC run: 25736k
    Garbage: 130348k
    Leak: 7075k
    Overhead: 14386k
    GGC runs: 274
    Pre-IPA-Garbage: 43130k
    Pre-IPA-Leak: 49945k
    Pre-IPA-Overhead: 7271k
    Post-IPA-Garbage: 43130k
    Post-IPA-Leak: 49945k
    Post-IPA-Overhead: 7271k

comparing insn-attrtab.c compilation at -O0 -g level:
    Overall memory needed: 152091k -> 152088k
    Peak memory use before GGC: 63629k
    Peak memory use after GGC: 53962k
    Maximum of released memory in single GGC run: 25737k
    Garbage: 130766k
    Leak: 8727k
    Overhead: 14841k
    GGC runs: 267
    Pre-IPA-Garbage: 43187k
    Pre-IPA-Leak: 51488k
    Pre-IPA-Overhead: 7607k
    Post-IPA-Garbage: 43187k
    Post-IPA-Leak: 51488k
    Post-IPA-Overhead: 7607k

comparing insn-attrtab.c compilation at -O1 level:
    Overall memory needed: 140875k -> 141004k
    Peak memory use before GGC: 54740k
    Peak memory use after GGC: 49006k
    Maximum of released memory in single GGC run: 24526k -> 23290k
    Garbage: 209978k -> 206729k
    Leak: 6465k
    Overhead: 24854k -> 24556k
    GGC runs: 314
    Pre-IPA-Garbage: 50404k
    Pre-IPA-Leak: 49457k
    Pre-IPA-Overhead: 7465k
    Post-IPA-Garbage: 50404k
    Post-IPA-Leak: 49457k
    Post-IPA-Overhead: 7465k

comparing insn-attrtab.c compilation at -O2 level:
    Overall memory needed: 182819k -> 182664k
    Peak memory use before GGC: 55417k
    Peak memory use after GGC: 50027k
    Maximum of released memory in single GGC run: 23366k -> 22129k
    Garbage: 252488k -> 245998k
    Leak: 6475k
    Overhead: 30826k -> 30231k
    GGC runs: 350 -> 349
    Pre-IPA-Garbage: 50473k
    Pre-IPA-Leak: 49462k
    Pre-IPA-Overhead: 7472k
    Post-IPA-Garbage: 50473k
    Post-IPA-Leak: 49462k
    Post-IPA-Overhead: 7472k

comparing insn-attrtab.c compilation at -O3 level:
    Overall memory needed: 190887k -> 191132k
    Peak memory use before GGC: 68224k -> 66910k
    Peak memory use after GGC: 63474k -> 63471k
    Maximum of released memory in single GGC run: 25373k -> 24137k
    Garbage: 279661k -> 273181k
    Leak: 6483k
    Overhead: 32726k -> 32133k
    GGC runs: 352
    Pre-IPA-Garbage: 50473k
    Pre-IPA-Leak: 49462k
    Pre-IPA-Overhead: 7472k
    Post-IPA-Garbage: 50473k
    Post-IPA-Leak: 49462k
    Post-IPA-Overhead: 7472k

comparing Gerald's testcase PR8361 compilation at -O0 level:
    Overall memory needed: 142268k -> 142292k
    Peak memory use before GGC: 79959k
    Peak memory use after GGC: 79167k
    Maximum of released memory in single GGC run: 14878k
    Garbage: 197603k
    Leak: 47695k
    Overhead: 24320k
    GGC runs: 425
    Pre-IPA-Garbage: 107302k
    Pre-IPA-Leak: 68685k
    Pre-IPA-Overhead: 12065k
    Post-IPA-Garbage: 107302k
    Post-IPA-Leak: 68685k
    Post-IPA-Overhead: 12065k

comparing Gerald's testcase PR8361 compilation at -O0 -g level:
    Overall memory needed: 165720k
    Peak memory use before GGC: 94245k
    Peak memory use after GGC: 93312k
    Maximum of released memory in single GGC run: 15682k
    Garbage: 203247k
    Leak: 74290k
    Overhead: 31011k
    GGC runs: 391
    Pre-IPA-Garbage: 107945k
    Pre-IPA-Leak: 85252k
    Pre-IPA-Overhead: 15603k
    Post-IPA-Garbage: 107945k
    Post-IPA-Leak: 85252k
    Post-IPA-Overhead: 15603k

comparing Gerald's testcase PR8361 compilation at -O1 level:
    Overall memory needed: 117995k -> 117981k
    Peak memory use before GGC: 79051k
    Peak memory use after GGC: 78209k
    Maximum of released memory in single GGC run: 14459k
    Garbage: 286737k -> 285841k
    Leak: 44467k
    Overhead: 28528k -> 28455k
    GGC runs: 518 -> 516
    Pre-IPA-Garbage: 149327k
    Pre-IPA-Leak: 82304k
    Pre-IPA-Overhead: 16663k
    Post-IPA-Garbage: 149327k
    Post-IPA-Leak: 82304k
    Post-IPA-Overhead: 16663k

comparing Gerald's testcase PR8361 compilation at -O2 level:
    Overall memory needed: 120975k -> 120981k
    Peak memory use before GGC: 79345k
    Peak memory use after GGC: 78556k
    Maximum of released memory in single GGC run: 14426k
    Garbage: 353522k -> 352150k
    Leak: 44602k -> 44602k
    Overhead: 35562k -> 35436k
    GGC runs: 598 -> 596
    Pre-IPA-Garbage: 150924k
    Pre-IPA-Leak: 82169k
    Pre-IPA-Overhead: 16795k
    Post-IPA-Garbage: 150924k
    Post-IPA-Leak: 82169k
    Post-IPA-Overhead: 16795k

comparing Gerald's testcase PR8361 compilation at -O3 level:
    Overall memory needed: 123479k -> 123413k
    Peak memory use before GGC: 80337k
    Peak memory use after GGC: 79533k
    Maximum of released memory in single GGC run: 14783k
    Garbage: 379979k -> 378743k
    Leak: 44974k -> 44974k
    Overhead: 37759k -> 37649k
    GGC runs: 614 -> 612
    Pre-IPA-Garbage: 153554k
    Pre-IPA-Leak: 82435k
    Pre-IPA-Overhead: 17038k
    Post-IPA-Garbage: 153554k
    Post-IPA-Leak: 82435k
    Post-IPA-Overhead: 17038k

comparing PR rtl-optimization/28071 testcase compilation at -O0 level:
    Overall memory needed: 380293k -> 380290k
    Peak memory use before GGC: 100907k
    Peak memory use after GGC: 56560k
    Maximum of released memory in single GGC run: 50583k
    Garbage: 178584k
    Leak: 6276k
    Overhead: 30603k
    GGC runs: 94
    Pre-IPA-Garbage: 12156k
    Pre-IPA-Leak: 16538k
    Pre-IPA-Overhead: 1718k
    Post-IPA-Garbage: 12156k
    Post-IPA-Leak: 16538k
    Post-IPA-Overhead: 1718k

comparing PR rtl-optimization/28071 testcase compilation at -O0 -g level:
    Overall memory needed: 381525k -> 381526k
    Peak memory use before GGC: 101606k
    Peak memory use after GGC: 57259k
    Maximum of released memory in single GGC run: 50583k
    Garbage: 178702k
    Leak: 8321k
    Overhead: 31188k
    GGC runs: 103
    Pre-IPA-Garbage: 12164k
    Pre-IPA-Leak: 16788k
    Pre-IPA-Overhead: 1772k
    Post-IPA-Garbage: 12164k
    Post-IPA-Leak: 16788k
    Post-IPA-Overhead: 1772k

comparing PR rtl-optimization/28071 testcase compilation at -O1 level:
    Overall memory needed: 391555k -> 390940k
    Peak memory use before GGC: 75652k
    Peak memory use after GGC: 67596k
    Maximum of released memory in single GGC run: 35733k -> 35732k
    Garbage: 244852k -> 244887k
    Leak: 7895k -> 7895k
    Overhead: 31115k -> 31118k
    GGC runs: 105
    Pre-IPA-Garbage: 49702k
    Pre-IPA-Leak: 63716k
    Pre-IPA-Overhead: 6705k
    Post-IPA-Garbage: 49702k
    Post-IPA-Leak: 63716k
    Post-IPA-Overhead: 6705k

comparing PR rtl-optimization/28071 testcase compilation at -O2 level:
    Overall memory needed: 303975k -> 303972k
    Peak memory use before GGC: 75653k
    Peak memory use after GGC: 67597k
    Maximum of released memory in single GGC run: 32489k
    Garbage: 258969k -> 259025k
    Leak: 8058k
    Overhead: 34159k -> 34163k
    GGC runs: 116
    Pre-IPA-Garbage: 107698k
    Pre-IPA-Leak: 75539k
    Pre-IPA-Overhead: 10956k
    Post-IPA-Garbage: 107698k
    Post-IPA-Leak: 75539k
    Post-IPA-Overhead: 10956k

comparing PR rtl-optimization/28071 testcase compilation at -O3 -fno-tree-pre -fno-tree-fre level:
    Overall memory needed: 1070595k -> 1070520k
    Peak memory use before GGC: 142478k
    Peak memory use after GGC: 129134k
    Maximum of released memory in single GGC run: 59644k -> 59672k
    Garbage: 356489k -> 356525k
    Leak: 11038k
    Overhead: 38241k -> 38243k
    GGC runs: 101
    Pre-IPA-Garbage: 107698k
    Pre-IPA-Leak: 75539k
    Pre-IPA-Overhead: 10956k
    Post-IPA-Garbage: 107698k
    Post-IPA-Leak: 75539k
    Post-IPA-Overhead: 10956k

Head of the ChangeLog is:

--- /usr/src/SpecTests/sandbox-britten-memory/x86_64/mem-result/ChangeLog	2008-06-27 16:07:52.000000000 +0000
+++ /usr/src/SpecTests/sandbox-britten-memory/gcc/gcc/ChangeLog	2008-06-27 20:26:51.000000000 +0000
@@ -1,3 +1,209 @@
+2008-06-27  Jakub Jelinek  <jakub@redhat.com>
+
+	* gimplify.c (omp_is_private): Don't return true if decl
+	is not already private on #pragma omp for or #pragma omp parallel for.
+
+	PR debug/36617
+	* tree-cfg.c (struct move_stmt_d): Replace block field with
+	orig_block and new_block fields.
+	(move_stmt_r): Only set TREE_BLOCK to p->new_block if
+	if it used to be NULL, p->orig_block or if p->orig_block is NULL.
+	(move_block_to_fn): Replace vars_map and new_label_map arguments
+	with struct move_stmt_d pointer.
+	(replace_block_vars_by_duplicates): New function.
+	(move_sese_region_to_fn): Add ORIG_BLOCK argument.  Adjust
+	move_block_to_fn caller.  If ORIG_BLOCK is non-NULL, move over
+	all subblocks of ORIG_BLOCK to the new function.  Call
+	replace_block_vars_by_duplicates.
+	* tree-flow.h (move_sese_region_to_fn): Adjust prototype.
+	* omp-low.c (expand_omp_taskreg): Set TREE_USED on DECL_INITIAL
+	BLOCK of the new function.  Adjust move_sese_region_to_fn caller.
+	Prune vars with original DECL_CONTEXT from child_cfun->local_decls.
+	(expand_omp): Temporarily set input_location to the location of
+	region's controlling stmt.
+	(lower_omp_sections, lower_omp_for): Add a BLOCK into outermost
+	BIND_EXPR, push ctx->block_vars and gimplification vars into
+	the BIND_EXPR and its block's BLOCK_VARS instead of directly
+	into dest function.
+	(lower_omp_single): Set TREE_USED on the BIND_EXPR's BLOCK if
+	there are any BLOCK_VARS.
+	(lower_omp_taskreg): Set BLOCK on a BIND_EXPR containing the
+	OMP_PARALLEL or OMP_TASK stmt.
+	(lower_omp): Save and restore input_location around the lower_omp_1
+	call.
+
+2008-06-27  Richard Guenther  <rguenther@suse.de>
+
+	PR tree-optimization/36400
+	PR tree-optimization/36373
+	PR tree-optimization/36344
+	* tree-ssa-structalias.c (var_escaped, escaped_tree, escaped_id,
+	var_nonlocal, nonlocal_tree, nonlocal_id): New globals
+	(update_alias_info): Remove call clobbering code.
+	(make_constraint_to): New helper function.
+	(make_escape_constraint): Likewise.
+	(handle_rhs_call): Use it on all pointer containing arguments.
+	Also mark the static chain escaped.
+	(handle_lhs_call): Make constraints from NONLOCAL and ESCAPED
+	instead of ANYTHING.
+	(make_constraint_from): New helper split out from ...
+	(make_constraint_from_anything): ... here.
+	(find_func_aliases): Add constraints for escape sites.
+	(intra_create_variable_infos): Make constraints from NONLOCAL
+	for parameters.
+	(find_what_p_points_to): Interpret NONLOCAL and ESCAPED the same
+	as ANYTHING.
+	(clobber_what_p_points_to): Remove.
+	(clobber_what_escaped): New function.
+	(init_base_vars): Init NONLOCAL and ESCAPED.
+	(do_sd_constraint): Do not propagate the solution from ESCAPED
+	but use ESCAPED as a placeholder.
+	(solve_graph): Likewise.
+	* tree-flow.h (clobber_what_p_points_to): Remove.
+	(clobber_what_escaped): Declare.
+	* tree-ssa-alias.c (set_initial_properties): Call it.
+	Remove code clobbering escaped pointers.
+
+2008-06-27  Richard Sandiford  <rdsandiford@googlemail.com>
+
+	* function.c (allocate_struct_function): Only allocate a unique
+	funcdef_no if the decl is nonzero.
+
+2008-06-27  Richard Sandiford  <rdsandiford@googlemail.com>
+
+	* config/mips/mips-protos.h (mips_split_const_insns): Declare.
+	* config/mips/mips.c (mips_split_const_insns): New function.
+	* config/mips/mips.md (move_type): New attribute.
+	(mode): Move attribute definition earlier in file.  Add "TI"
+	and "TF".
+	(dword_mode): New attribute.
+	(type): Avoid long line.  Map "move_type"s to "type"s,
+	choosing "multi" for doubleword moves if appropriate.
+	Swap MTC/MFC comments to match their declaration order.
+	(extended_mips16): Default to "yes" if "move_type" is "sll0",
+	"type" is "branch" or "jal" is "direct".
+	(length): Handle "extended_mips16" first.  Make the default
+	"0" for "ghost" instructions.  Set the length from "move_type".
+	(truncdisi2, truncdihi2, truncdiqi2): Use "move_type" instead
+	of "type", with "sll0" for the register alternative.  Remove the
+	"extended_mips16" attribute.
+	(zero_extendsidi2, *clear_upper32): Use "move_type" instead
+	of "type", with "shift_shift" for the register alternative.
+	Remove the "length" attribute.
+	(*extend<SHORT:mode><GPR:mode>2, *extendqihi2): Likewise.
+	(*zero_extend<SHORT:mode><GPR:mode>2): Use "move_type" instead
+	of "type", with "andi" for the register alternative.
+	(*zero_extendqihi2): Likewise.
+	(*zero_extend<SHORT:mode><GPR:mode>2_mips16e): Use a "move_type"
+	of "andi" instead of a "type" of "arith".
+	(*zero_extend<SHORT:mode><GPR:mode>2_mips16): Use "move_type"
+	instead of "type".
+	(*zero_extendqihi2_mips16, mov_<load>l, mov_<load>r, mov_<store>l)
+	(mov_<store>r, *mov<mode>_ra): Likewise.
+	(extendsidi2): Use "move_type" instead of "type", with "move"
+	for the register alternative.
+	(*extend<SHORT:mode><GPR:mode>2_mips16e): Use "move_type" instead
+	of "type", with "signext" for the register alternative.
+	(*extend<SHORT:mode><GPR:mode>2_se<SHORT:size>): Likewise.
+	(*extendqihi2_mips16e, *extendqihi2_seb): Likewise.
+	(fix_truncdfsi2_insn, fix_truncsfsi2_insn, fix_truncdfdi2)
+	(fix_truncsfdi2, floatsidf2, floatdidf2, floatsisf2, floatdisf2)
+	(floatdisf2, *branch_equality<mode>_mips16): Likewise.
+	(unnamed branch insn): Likewise.
+	(*movdi_gp32_fp64): Fold into...
+	(*movdi_32bit): ...here.
+	(*movdf_hardfloat_64bit, *movdf_hardfloat_32bit): Combine into...
+	(*movdf_hardfloat): ...this new pattern.
+	(*movdf_softfloat): Remove redundant FPR alternatives.
+	(*movti, *movti_mips16, *movtf, *movtf_mips16): Add "mode" attributes.
+	(*movv2sf_hardfloat_64bit, *movv2sf_hardfloat_32bit): Combine into...
+	(*movv2sf): ...this new pattern.  Use "DF" rather than "SF" for
+	the "move" attribute.
+	(*movdi_32bit): Use "move_type" instead of "type" and remove the
+	"length" attribute.  Use "fpload" and "fpstore" instead of "load"
+	and "store" for COP loads and stores.
+	(*movdi_32bit_mips16, *movdi_64bit, *movsi_internal, movcc)
+	(*movhi_internal, *movhi_mips16, *movqi_internal, *movqi_mips16)
+	(*movsf_hardfloat, *movsf_softfloat, *movsi_mips16, *movdf_hardfloat)
+	(*movdf_softfloat, *movdf_mips16, *movti, *movti_mips16, *movtf)
+	(*movtf_mips16, *movv2sf): Likewise.
+	(mfhi<GPR:mode>_<HILO:mode>, mflo<GPR:mode>_<HILO:mode>)
+	(load_low<mode>, load_high<mode>, store_word<mode>, mthc1<mode>)
+	(mfhc1<mode>): Use "move_type" instead of "move".
+	(*low<mode>_mips16): Use "extended_mips16" instead of "length".
+	(loadgp_blockage): Remove the "length" attribute.
+	(blockage, set_got_version, update_got_version): Likewise.
+	(call_internal): Remove the "extended_mips16" attribute.
+	(call_value_internal, call_value_multiple_internal): Likewise.
+	* config/mips/loongson.md (mov<mode>_internal): Use "move_type"
+	instead of "move".
+	* config/mips/mips-dsp.md (mips_lbux, mips_lhx, mips_lwx): Remove
+	the "length" attribute.
+
+2008-06-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+	* c-format.c (handle_format_attribute): Fix -Wc++-compat and/or
+	-Wcast-qual warnings.
+	* c-pragma.c (dpm_eq, handle_pragma_push_macro,
+	handle_pragma_pop_macro): Likewise.
+	* collect2.c (resolve_lib_name): Likewise.
+	* config/arc/arc.c (arc_init): Likewise.
+	* config/arm/arm.c (neon_builtin_compare,
+	locate_neon_builtin_icode): Likewise.
+	* config/arm/pe.c (arm_mark_dllexport, arm_pe_unique_section):
+	Likewise.
+	* config/bfin/bfin.c (bfin_init_machine_status,
+	bfin_optimize_loop): Likewise.
+	* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Likewise.
+	* config/cris/cris.c (cris_init_expanders): Likewise.
+	* config/darwin-c.c (frameworks_in_use, add_framework): Likewise.
+	* config/darwin.c (machopic_indirection_eq,
+	machopic_indirection_name, machopic_output_indirection):
+	Likewise.
+	* config/frv/frv.c (frv_init_machine_status, frv_compare_insns,
+	frv_io_check_address, frv_io_handle_set, frv_io_handle_use_1,
+	frv_optimize_membar): Likewise.
+	* config/i386/cygwin.h (mingw_scan,
+	GCC_DRIVER_HOST_INITIALIZATION): Likewise.
+	* config/i386/cygwin1.c (mingw_scan): Likewise.
+	* config/i386/i386.c (machopic_output_stub): Likewise.
+	* config/i386/winnt.c (gen_stdcall_or_fastcall_suffix,
+	i386_pe_unique_section): Likewise.
+	* config/ia64/ia64.c (ia64_init_machine_status,
+	ia64_h_i_d_extended, get_free_bundle_state, bundling, ia64_reorg):
+	Likewise.
+	* config/iq2000/iq2000.c, iq2000_init_machine_status): Likewise.
+	* config/m68hc11/m68hc11.c (m68hc11_encode_label): Likewise.
+	* config/m68k/m68k.c (m68k_handle_option,
+	m68k_sched_md_init_global): Likewise.
+	* config/mcore/mcore.c (mcore_mark_dllexport,
+	mcore_mark_dllimport, mcore_unique_section): Likewise.
+	* config/mips/mips.c (mips_block_move_straight,
+	mips16_rewrite_pool_refs, mips_sim_wait_regs_2,
+	mips_sim_record_set): Likewise.
+	* config/mmix/mmix.c (mmix_init_machine_status,
+	mmix_encode_section_info): Likewise.
+	* config/pa/pa.c (pa_init_machine_status, hppa_encode_label):
+	Likewise.
+	* config/rs6000/rs6000.c (rs6000_init_machine_status,
+	print_operand_address, output_toc, redefine_groups,
+	rs6000_elf_encode_section_info, machopic_output_stub): Likewise.
+	* config/s390/s390.c (s390_init_machine_status): Likewise.
+	* config/score/score.c (score_block_move_straight,
+	score_block_move_loop_body): Likewise.
+	* config/sparc/sparc.c (sparc_init_machine_status): Likewise.
+	* config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
+	* emit-rtl.c (find_auto_inc): Likewise.
+	* gcc.c (translate_options, process_command): Likewise.
+	* reorg.c (dbr_schedule): Likewise.
+	* sdbout.c (sdbout_start_source_file, sdbout_init): Likewise.
+	* xcoffout.c (xcoffout_declare_function): Likewise.
+
+2008-06-27  Daniel Berlin  <dberlin@dberlin.org>
+
+	* tree-ssa-structalias.c (find_func_aliases): Trivial fix to get
+	ipa-pta working again.
+
 2008-06-27  David Edelsohn  <edelsohn@gnu.org>
 
 	* config/rs6000/t-aix52: Append large data option to LDFLAGS for


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]