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 still allocated after garbage collecting increased from 1045k to 1047k, overall 0.19%
  Amount of memory still referenced at the end of compilation increased from 999k to 1000k, overall 0.12%
    Overall memory needed: 8153k -> 8155k
    Peak memory use before GGC: 1142k -> 1143k
    Peak memory use after GGC: 1045k -> 1047k
    Maximum of released memory in single GGC run: 132k
    Garbage: 245k -> 245k
    Leak: 999k -> 1000k
    Overhead: 91k -> 91k
    GGC runs: 4
Testing has produced no results
Testing has produced no results

comparing empty function compilation at -O0 -g level:
  Peak amount of GGC memory allocated before garbage collecting increased from 1169k to 1171k, overall 0.17%
  Amount of memory still referenced at the end of compilation increased from 1032k to 1033k, overall 0.11%
    Overall memory needed: 8229k -> 8239k
    Peak memory use before GGC: 1169k -> 1171k
    Peak memory use after GGC: 1074k -> 1075k
    Maximum of released memory in single GGC run: 134k
    Garbage: 247k -> 247k
    Leak: 1032k -> 1033k
    Overhead: 95k -> 95k
    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 999k to 1000k, overall 0.12%
    Overall memory needed: 8225k -> 8231k
    Peak memory use before GGC: 1142k -> 1143k
    Peak memory use after GGC: 1038k -> 1039k
    Maximum of released memory in single GGC run: 130k -> 131k
    Garbage: 248k -> 248k
    Leak: 999k -> 1000k
    Overhead: 91k -> 91k
    GGC runs: 3
  Amount of memory referenced pre-ipa increased from 1002k to 1003k, overall 0.11%
    Pre-IPA-Garbage: 235k -> 235k
    Pre-IPA-Leak: 1002k -> 1003k
    Pre-IPA-Overhead: 89k -> 89k
  Amount of memory referenced post-ipa increased from 1002k to 1003k, overall 0.11%
    Post-IPA-Garbage: 235k -> 235k
    Post-IPA-Leak: 1002k -> 1003k
    Post-IPA-Overhead: 89k -> 89k

comparing empty function compilation at -O2 level:
  Amount of memory still referenced at the end of compilation increased from 1000k to 1001k, overall 0.12%
    Overall memory needed: 8245k -> 8259k
    Peak memory use before GGC: 1142k -> 1143k
    Peak memory use after GGC: 1039k -> 1040k
    Maximum of released memory in single GGC run: 129k
    Garbage: 252k -> 252k
    Leak: 1000k -> 1001k
    Overhead: 92k -> 92k
    GGC runs: 3
  Amount of memory referenced pre-ipa increased from 1002k to 1003k, overall 0.11%
    Pre-IPA-Garbage: 235k -> 235k
    Pre-IPA-Leak: 1002k -> 1003k
    Pre-IPA-Overhead: 89k -> 89k
  Amount of memory referenced post-ipa increased from 1002k to 1003k, overall 0.11%
    Post-IPA-Garbage: 235k -> 235k
    Post-IPA-Leak: 1002k -> 1003k
    Post-IPA-Overhead: 89k -> 89k

comparing empty function compilation at -O3 level:
  Amount of memory still referenced at the end of compilation increased from 1000k to 1001k, overall 0.12%
    Overall memory needed: 8245k -> 8247k
    Peak memory use before GGC: 1142k -> 1143k
    Peak memory use after GGC: 1039k -> 1040k
    Maximum of released memory in single GGC run: 129k
    Garbage: 252k -> 252k
    Leak: 1000k -> 1001k
    Overhead: 92k -> 92k
    GGC runs: 3
  Amount of memory referenced pre-ipa increased from 1002k to 1003k, overall 0.11%
    Pre-IPA-Garbage: 235k -> 235k
    Pre-IPA-Leak: 1002k -> 1003k
    Pre-IPA-Overhead: 89k -> 89k
  Amount of memory referenced post-ipa increased from 1002k to 1003k, overall 0.11%
    Post-IPA-Garbage: 235k -> 235k
    Post-IPA-Leak: 1002k -> 1003k
    Post-IPA-Overhead: 89k -> 89k

comparing combine.c compilation at -O0 level:
    Overall memory needed: 22669k -> 22671k
    Peak memory use before GGC: 7991k -> 7992k
    Peak memory use after GGC: 7367k -> 7369k
    Maximum of released memory in single GGC run: 1545k
    Garbage: 38072k -> 38078k
    Leak: 5497k -> 5498k
    Overhead: 4685k -> 4685k
    GGC runs: 367
Testing has produced no results
Testing has produced no results

comparing combine.c compilation at -O0 -g level:
    Overall memory needed: 24777k -> 24775k
    Peak memory use before GGC: 9988k -> 9989k
    Peak memory use after GGC: 9368k -> 9369k
    Maximum of released memory in single GGC run: 1831k -> 1832k
    Garbage: 38442k -> 38444k
    Leak: 8806k -> 8807k
    Overhead: 5507k -> 5507k
    GGC runs: 335 -> 336
Testing has produced no results
Testing has produced no results

comparing combine.c compilation at -O1 level:
    Overall memory needed: 32713k -> 32707k
    Peak memory use before GGC: 16366k -> 16368k
    Peak memory use after GGC: 16202k -> 16203k
    Maximum of released memory in single GGC run: 1414k -> 1415k
    Garbage: 52420k -> 52423k
    Leak: 5145k -> 5146k
    Overhead: 5843k -> 5842k
    GGC runs: 438
    Pre-IPA-Garbage: 13941k -> 13941k
    Pre-IPA-Leak: 17220k -> 17221k
    Pre-IPA-Overhead: 2150k -> 2150k
    Post-IPA-Garbage: 13941k -> 13941k
    Post-IPA-Leak: 17220k -> 17221k
    Post-IPA-Overhead: 2150k -> 2150k

comparing combine.c compilation at -O2 level:
    Overall memory needed: 34437k -> 34431k
    Peak memory use before GGC: 16466k -> 16467k
    Peak memory use after GGC: 16295k -> 16296k
    Maximum of released memory in single GGC run: 1344k
    Garbage: 72945k -> 72949k
    Leak: 5192k -> 5185k
    Overhead: 8211k -> 8212k
    GGC runs: 509
    Pre-IPA-Garbage: 14093k -> 14093k
    Pre-IPA-Leak: 17283k -> 17284k
    Pre-IPA-Overhead: 2163k -> 2163k
    Post-IPA-Garbage: 14093k -> 14093k
    Post-IPA-Leak: 17283k -> 17284k
    Post-IPA-Overhead: 2163k -> 2163k

comparing combine.c compilation at -O3 level:
    Overall memory needed: 38601k -> 38603k
    Peak memory use before GGC: 16527k
    Peak memory use after GGC: 16308k -> 16309k
    Maximum of released memory in single GGC run: 2493k
    Garbage: 92778k -> 92785k
    Leak: 5219k -> 5221k
    Overhead: 10740k -> 10741k
    GGC runs: 545
    Pre-IPA-Garbage: 14094k -> 14093k
    Pre-IPA-Leak: 17294k -> 17296k
    Pre-IPA-Overhead: 2164k -> 2164k
    Post-IPA-Garbage: 14094k -> 14093k
    Post-IPA-Leak: 17294k -> 17296k
    Post-IPA-Overhead: 2164k -> 2164k

comparing insn-attrtab.c compilation at -O0 level:
    Overall memory needed: 137537k -> 137543k
    Peak memory use before GGC: 57415k -> 57416k
    Peak memory use after GGC: 31841k -> 31842k
    Maximum of released memory in single GGC run: 33223k
    Garbage: 130444k -> 130444k
    Leak: 6965k -> 6966k
    Overhead: 14394k -> 14394k
    GGC runs: 291
Testing has produced no results
Testing has produced no results

comparing insn-attrtab.c compilation at -O0 -g level:
    Overall memory needed: 138845k -> 138835k
    Peak memory use before GGC: 58675k -> 58676k
    Peak memory use after GGC: 33100k -> 33101k
    Maximum of released memory in single GGC run: 33224k
    Garbage: 130945k -> 130945k
    Leak: 8624k -> 8625k
    Overhead: 14852k -> 14852k
    GGC runs: 286 -> 285
Testing has produced no results
Testing has produced no results

comparing insn-attrtab.c compilation at -O1 level:
    Overall memory needed: 141393k -> 141399k
    Peak memory use before GGC: 54714k -> 54715k
    Peak memory use after GGC: 48980k -> 48981k
    Maximum of released memory in single GGC run: 24637k
    Garbage: 208959k -> 208959k
    Leak: 6428k -> 6429k
    Overhead: 24720k -> 24720k
    GGC runs: 315
    Pre-IPA-Garbage: 50402k -> 50402k
    Pre-IPA-Leak: 49475k -> 49477k
    Pre-IPA-Overhead: 7467k -> 7467k
    Post-IPA-Garbage: 50402k -> 50402k
    Post-IPA-Leak: 49475k -> 49477k
    Post-IPA-Overhead: 7467k -> 7467k

comparing insn-attrtab.c compilation at -O2 level:
    Overall memory needed: 182609k -> 182779k
    Peak memory use before GGC: 55397k -> 55395k
    Peak memory use after GGC: 50007k -> 50005k
    Maximum of released memory in single GGC run: 23529k
    Garbage: 252059k -> 252067k
    Leak: 6456k -> 6457k
    Overhead: 30761k -> 30761k
    GGC runs: 349 -> 350
    Pre-IPA-Garbage: 50474k -> 50474k
    Pre-IPA-Leak: 49479k -> 49480k
    Pre-IPA-Overhead: 7474k -> 7474k
    Post-IPA-Garbage: 50474k -> 50474k
    Post-IPA-Leak: 49479k -> 49480k
    Post-IPA-Overhead: 7474k -> 7474k

comparing insn-attrtab.c compilation at -O3 level:
    Overall memory needed: 190605k -> 190611k
    Peak memory use before GGC: 68232k -> 68233k
    Peak memory use after GGC: 63455k -> 63456k
    Maximum of released memory in single GGC run: 25543k -> 25542k
    Garbage: 279312k -> 279295k
    Leak: 6464k -> 6465k
    Overhead: 32671k -> 32668k
    GGC runs: 352
    Pre-IPA-Garbage: 50474k -> 50474k
    Pre-IPA-Leak: 49479k -> 49480k
    Pre-IPA-Overhead: 7474k -> 7474k
    Post-IPA-Garbage: 50474k -> 50474k
    Post-IPA-Leak: 49479k -> 49480k
    Post-IPA-Overhead: 7474k -> 7474k

comparing Gerald's testcase PR8361 compilation at -O0 level:
    Overall memory needed: 144491k -> 144276k
    Peak memory use before GGC: 80804k -> 80805k
    Peak memory use after GGC: 80004k -> 80005k
    Maximum of released memory in single GGC run: 15233k
    Garbage: 197744k -> 197748k
    Leak: 47627k -> 47629k
    Overhead: 24191k -> 24191k
    GGC runs: 417 -> 416
    Pre-IPA-Garbage: 108026k -> 108027k
    Pre-IPA-Leak: 69163k -> 69164k
    Pre-IPA-Overhead: 12062k -> 12062k
    Post-IPA-Garbage: 108026k -> 108027k
    Post-IPA-Leak: 69163k -> 69164k
    Post-IPA-Overhead: 12062k -> 12062k

comparing Gerald's testcase PR8361 compilation at -O0 -g level:
    Overall memory needed: 166427k -> 166540k
    Peak memory use before GGC: 94805k -> 94806k
    Peak memory use after GGC: 93866k -> 93867k
    Maximum of released memory in single GGC run: 15753k
    Garbage: 203387k -> 203400k
    Leak: 74203k -> 74204k
    Overhead: 30880k -> 30880k
    GGC runs: 385
    Pre-IPA-Garbage: 108670k -> 108670k
    Pre-IPA-Leak: 85730k -> 85731k
    Pre-IPA-Overhead: 15600k -> 15600k
    Post-IPA-Garbage: 108670k -> 108670k
    Post-IPA-Leak: 85730k -> 85731k
    Post-IPA-Overhead: 15600k -> 15600k

comparing Gerald's testcase PR8361 compilation at -O1 level:
    Overall memory needed: 117911k -> 117881k
    Peak memory use before GGC: 79574k -> 79575k
    Peak memory use after GGC: 78780k -> 78781k
    Maximum of released memory in single GGC run: 14559k -> 14558k
    Garbage: 290554k -> 290558k
    Leak: 44414k -> 44416k
    Overhead: 28739k -> 28739k
    GGC runs: 522
    Pre-IPA-Garbage: 151914k -> 151913k
    Pre-IPA-Leak: 82531k -> 82533k
    Pre-IPA-Overhead: 16721k -> 16721k
    Post-IPA-Garbage: 151914k -> 151913k
    Post-IPA-Leak: 82531k -> 82533k
    Post-IPA-Overhead: 16721k -> 16721k

comparing Gerald's testcase PR8361 compilation at -O2 level:
    Overall memory needed: 119911k -> 119909k
    Peak memory use before GGC: 79673k -> 79674k
    Peak memory use after GGC: 78878k -> 78879k
    Maximum of released memory in single GGC run: 14561k
    Garbage: 359959k -> 359900k
    Leak: 44676k -> 44677k
    Overhead: 35911k -> 35899k
    GGC runs: 601 -> 600
    Pre-IPA-Garbage: 153529k -> 153530k
    Pre-IPA-Leak: 82396k -> 82397k
    Pre-IPA-Overhead: 16857k -> 16857k
    Post-IPA-Garbage: 153529k -> 153530k
    Post-IPA-Leak: 82396k -> 82397k
    Post-IPA-Overhead: 16857k -> 16857k

comparing Gerald's testcase PR8361 compilation at -O3 level:
    Overall memory needed: 122963k -> 122941k
    Peak memory use before GGC: 80973k -> 80974k
    Peak memory use after GGC: 80121k -> 80122k
    Maximum of released memory in single GGC run: 14913k
    Garbage: 387069k -> 387089k
    Leak: 44943k -> 44952k
    Overhead: 38189k -> 38191k
    GGC runs: 624
    Pre-IPA-Garbage: 156170k -> 156169k
    Pre-IPA-Leak: 82664k -> 82665k
    Pre-IPA-Overhead: 17101k -> 17101k
    Post-IPA-Garbage: 156170k -> 156169k
    Post-IPA-Leak: 82664k -> 82665k
    Post-IPA-Overhead: 17101k -> 17101k

comparing PR rtl-optimization/28071 testcase compilation at -O0 level:
    Overall memory needed: 380750k -> 380752k
    Peak memory use before GGC: 101136k -> 101137k
    Peak memory use after GGC: 56789k -> 56790k
    Maximum of released memory in single GGC run: 50583k
    Garbage: 178579k -> 178627k
    Leak: 6217k -> 6218k
    Overhead: 30603k -> 30603k
    GGC runs: 104 -> 105
Testing has produced no results
Testing has produced no results

comparing PR rtl-optimization/28071 testcase compilation at -O0 -g level:
    Overall memory needed: 381626k -> 381628k
    Peak memory use before GGC: 101837k -> 101838k
    Peak memory use after GGC: 57490k -> 57491k
    Maximum of released memory in single GGC run: 50583k
    Garbage: 178742k -> 178742k
    Leak: 8264k -> 8265k
    Overhead: 31188k -> 31188k
    GGC runs: 110
Testing has produced no results
Testing has produced no results

comparing PR rtl-optimization/28071 testcase compilation at -O1 level:
    Overall memory needed: 391277k -> 390211k
    Peak memory use before GGC: 75645k -> 75646k
    Peak memory use after GGC: 67589k -> 67590k
    Maximum of released memory in single GGC run: 35735k
    Garbage: 244861k -> 244862k
    Leak: 7882k -> 7883k
    Overhead: 31115k -> 31115k
    GGC runs: 105 -> 106
    Pre-IPA-Garbage: 49700k -> 49701k
    Pre-IPA-Leak: 63710k -> 63711k
    Pre-IPA-Overhead: 6704k -> 6704k
    Post-IPA-Garbage: 49700k -> 49701k
    Post-IPA-Leak: 63710k -> 63711k
    Post-IPA-Overhead: 6704k -> 6704k

comparing PR rtl-optimization/28071 testcase compilation at -O2 level:
    Overall memory needed: 303965k -> 303963k
    Peak memory use before GGC: 75645k -> 75646k
    Peak memory use after GGC: 67589k -> 67590k
    Maximum of released memory in single GGC run: 32543k
    Garbage: 259350k -> 259356k
    Leak: 8045k -> 8046k
    Overhead: 34234k -> 34234k
    GGC runs: 116 -> 117
    Pre-IPA-Garbage: 107696k -> 107696k
    Pre-IPA-Leak: 75533k -> 75534k
    Pre-IPA-Overhead: 10955k -> 10956k
    Post-IPA-Garbage: 107696k -> 107696k
    Post-IPA-Leak: 75533k -> 75534k
    Post-IPA-Overhead: 10955k -> 10956k

comparing PR rtl-optimization/28071 testcase compilation at -O3 -fno-tree-pre -fno-tree-fre level:
    Overall memory needed: 1070281k -> 1070303k
    Peak memory use before GGC: 142471k -> 142472k
    Peak memory use after GGC: 129126k -> 129127k
    Maximum of released memory in single GGC run: 59649k
    Garbage: 356496k -> 356496k
    Leak: 11025k -> 11026k
    Overhead: 38239k -> 38239k
    GGC runs: 101 -> 102
    Pre-IPA-Garbage: 107696k -> 107696k
    Pre-IPA-Leak: 75533k -> 75534k
    Pre-IPA-Overhead: 10955k -> 10956k
    Post-IPA-Garbage: 107696k -> 107696k
    Post-IPA-Leak: 75533k -> 75534k
    Post-IPA-Overhead: 10955k -> 10956k

Head of the ChangeLog is:

--- /usr/src/SpecTests/sandbox-britten-memory/x86_64/mem-result/ChangeLog	2008-05-23 03:37:21.000000000 +0000
+++ /usr/src/SpecTests/sandbox-britten-memory/gcc/gcc/ChangeLog	2008-05-23 08:00:54.000000000 +0000
@@ -1,3 +1,43 @@
+2008-05-23  Uros Bizjak  <ubizjak@gmail.com>
+	    Jakub Jelinek  <jakub@redhat.com>
+
+	PR target/36079
+	* configure.ac: Handle --enable-cld.
+	* configure: Regenerated.
+	* config.gcc: Add USE_IX86_CLD to tm_defines for x86 targets.
+	* config/i386/i386.h (struct machine_function): Add needs_cld field.
+	(ix86_current_function_needs_cld): New define.
+	* config/i386/i386.md (UNSPEC_CLD): New unspec volatile constant.
+	(cld): New isns pattern.
+	(strmov_singleop, rep_mov, strset_singleop, rep_stos, cmpstrnqi_nz_1,
+	cmpstrnqi_1, strlenqi_1): Set ix86_current_function_needs_cld flag.
+	* config/i386/i386.opt (mcld): New option.
+	* config/i386/i386.c (ix86_expand_prologue): Emit cld insn if
+	TARGET_CLD and ix86_current_function_needs_cld.
+	(override_options): Use -mcld by default for 32-bit code if
+	USE_IX86_CLD.
+
+	* doc/install.texi (Options specification): Document --enable-cld.
+	* doc/invoke.texi (Machine Dependent Options)
+        [i386 and x86-64 Options]: Add -mcld option.
+        (Intel 386 and AMD x86-64 Options): Document -mcld option.
+
+2008-05-23  Kai Tietz  <kai.tietz@onevison.com>
+	* config/i386/i386.c (return_in_memory_32): Add ATTRIBUTE_UNUSED.
+	(return_in_memory_64): Likewise.
+	(return_in_memory_ms_64): Likewise.
+
+2008-05-23  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+	* builtin-types.def (BT_FN_INT_INT_INT_INT_INT_INT_VAR): New.
+	* builtins.c (fold_builtin_fpclassify): New.
+	(fold_builtin_varargs): Handle BUILT_IN_FPCLASSIFY.
+	* builtins.def (BUILT_IN_FPCLASSIFY): New.
+	* c-common.c (handle_type_generic_attribute): Adjust to accept
+	fixed arguments before an elipsis.
+	(check_builtin_function_arguments): Handle BUILT_IN_FPCLASSIFY.
+	* doc/extend.texi: Document __builtin_fpclassify.
+
 2008-05-22  Aldy Hernandez  <aldyh@redhat.com>
 
 	* omp-low.c (gate_expand_omp_ssa): Remove.
@@ -42,9 +82,8 @@
 	(vector_alignment_reachable_p): Likewise.
 	* tree-vect-transform.c (vectorizable_load): Likewise.
 	* tree-vectorizer.c (vect_supportable_dr_alignment): Likewise.
-
-	* tree-vectorizer.c (get_vectype_for_scalar_type): Pass mode of
-	scalar_type to UNITS_PER_SIMD_WORD.
+	(get_vectype_for_scalar_type): Pass mode of scalar_type
+	to UNITS_PER_SIMD_WORD.
 
 	* config/arm/arm.h (UNITS_PER_SIMD_WORD): Updated.
 	* config/i386/i386.h (UNITS_PER_SIMD_WORD): Likewise.
@@ -190,27 +229,21 @@
 2008-05-20  David Daney  <ddaney@avtrex.com>
 
 	* config/mips/mips.md (UNSPEC_SYNC_NEW_OP_12,
-	UNSPEC_SYNC_OLD_OP_12,
-	UNSPEC_SYNC_EXCHANGE_12): New define_constants.
-	(UNSPEC_SYNC_EXCHANGE, UNSPEC_MEMORY_BARRIER,
-	UNSPEC_SET_GOT_VERSION,
+	UNSPEC_SYNC_OLD_OP_12, UNSPEC_SYNC_EXCHANGE_12): New define_constants.
+	(UNSPEC_SYNC_EXCHANGE, UNSPEC_MEMORY_BARRIER, UNSPEC_SET_GOT_VERSION,
 	UNSPEC_UPDATE_GOT_VERSION): Renumber.
 	(optab, insn): Add 'plus' and 'minus' to define_code_attr.
 	(atomic_hiqi_op): New define_code_iterator.
-	(sync_compare_and_swap<mode>): Call
-	mips_expand_atomic_qihi instead of
+	(sync_compare_and_swap<mode>): Call mips_expand_atomic_qihi instead of
 	mips_expand_compare_and_swap_12.
 	(compare_and_swap_12): Use MIPS_COMPARE_AND_SWAP_12 instead of
-	MIPS_COMPARE_AND_SWAP_12_0.  Pass argument to
-	MIPS_COMPARE_AND_SWAP_12.
+	MIPS_COMPARE_AND_SWAP_12_0.  Pass argument to MIPS_COMPARE_AND_SWAP_12.
 	(sync_<optab><mode>, sync_old_<optab><mode>,
 	sync_new_<optab><mode>, sync_nand<mode>, sync_old_nand<mode>,
-	sync_new_nand<mode>): New define_expands for HI and QI mode
-	operands.
+	sync_new_nand<mode>): New define_expands for HI and QI mode operands.
 	(sync_<optab>_12, sync_old_<optab>_12, sync_new_<optab>_12,
 	sync_nand_12, sync_old_nand_12, sync_new_nand_12): New insns.
-	(sync_lock_test_and_set<mode>): New define_expand for HI and QI
-	modes.
+	(sync_lock_test_and_set<mode>): New define_expand for HI and QI modes.
 	(test_and_set_12): New insn.
 	(sync_old_add<mode>, sync_new_add<mode>, sync_old_<optab><mode>,
 	sync_new_<optab><mode>, sync_old_nand<mode>,
@@ -268,10 +301,12 @@
 2008-05-20  Jan Sjodin  <jan.sjodin@amd.com>
 	    Sebastian Pop  <sebastian.pop@amd.com>
 
-	* tree-loop-linear.c (gather_interchange_stats): Look in the access matrix,
-	and never look at the tree representation of the memory accesses.
+	* tree-loop-linear.c (gather_interchange_stats): Look in the access
+	matrix, and never look at the tree representation of the memory
+	accesses.
 	(linear_transform_loops): Computes parameters and access matrices.
-	* tree-data-ref.c (compute_data_dependences_for_loop): Returns false when fails.
+	* tree-data-ref.c (compute_data_dependences_for_loop): Returns false
+	when fails.
 	(access_matrix_get_index_for_parameter): New.
 	* tree-data-ref.h (struct access_matrix): New.
 	(AM_LOOP_NEST_NUM, AM_NB_INDUCTION_VARS, AM_PARAMETERS, AM_MATRIX,
@@ -317,15 +352,15 @@
 
 	PR tree-optimization/36206
 	* tree-chrec.h (chrec_fold_op): New.
-	* tree-data-ref.c (initialize_matrix_A): Traverse NOP_EXPR, PLUS_EXPR, and
-	other trees.
+	* tree-data-ref.c (initialize_matrix_A): Traverse NOP_EXPR, PLUS_EXPR,
+	and other trees.
 
 2008-05-20  Nathan Sidwell  <nathan@codesourcery.com>
 
 	* c-incpath.c (INO_T_EQ): Do not define on non-inode systems.
 	(DIRS_EQ): New.
-	(remove_duplicates): Do not set inode on non-inode systems.  Use
-	DIRS_EQ.
+	(remove_duplicates): Do not set inode on non-inode systems.
+	Use DIRS_EQ.
 
 2008-05-20  Sandra Loosemore  <sandra@codesourcery.com>
 
@@ -333,8 +368,7 @@
 
 2008-05-20  Richard Guenther  <rguenther@suse.de>
 
-	* tree-ssa-reassoc.c (fini_reassoc): Use the statistics
-	infrastructure.
+	* tree-ssa-reassoc.c (fini_reassoc): Use the statistics infrastructure.
 	* tree-ssa-sccvn.c (process_scc): Likewise.
 	* tree-ssa-sink.c (execute_sink_code): Likewise.
 	* tree-ssa-threadupdate.c (thread_through_all_blocks): Likewise.


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]