diff options
author | aldot <aldot@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-29 15:56:20 +0000 |
---|---|---|
committer | aldot <aldot@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-29 15:56:20 +0000 |
commit | 940237987f102c7455552e32fcae6c4cb1d3f4c8 (patch) | |
tree | 13b59fb053c6da35d23d06a2f0500a3e9674e593 /gcc/ipa-struct-reorg.c | |
parent | ed6049c8d4abb6da11e251490ff3ca6d3c1cada4 (diff) | |
download | gcc-940237987f102c7455552e32fcae6c4cb1d3f4c8.tar.gz |
2008-01-29 Bernhard Fischer <aldot@gcc.gnu.org>
PR c/35002
* ipa-struct-reorg.c: Fix spelling.
* params.def: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131940 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-struct-reorg.c')
-rw-r--r-- | gcc/ipa-struct-reorg.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/ipa-struct-reorg.c b/gcc/ipa-struct-reorg.c index 79a2ffddb02..514b9a22898 100644 --- a/gcc/ipa-struct-reorg.c +++ b/gcc/ipa-struct-reorg.c @@ -3638,7 +3638,7 @@ collect_accesses_in_func (struct function *fn) /* This function summarizes counts of the fields into the structure count. */ static void -sum_counts (d_str str, gcov_type *hotest) +sum_counts (d_str str, gcov_type *hottest) { int i; @@ -3662,8 +3662,8 @@ sum_counts (d_str str, gcov_type *hotest) fprintf (dump_file, "\" is " HOST_WIDEST_INT_PRINT_DEC, str->count); } - if (str->count > *hotest) - *hotest = str->count; + if (str->count > *hottest) + *hottest = str->count; } /* This function peels the field into separate structure if it's @@ -3903,18 +3903,18 @@ collect_data_accesses (void) static void exclude_cold_structs (void) { - gcov_type hotest = 0; + gcov_type hottest = 0; unsigned i; d_str str; /* We summarize counts of fields of a structure into the structure count. */ for (i = 0; VEC_iterate (structure, structures, i, str); i++) - sum_counts (str, &hotest); + sum_counts (str, &hottest); /* Remove cold structures from structures vector. */ i = 0; while (VEC_iterate (structure, structures, i, str)) - if (str->count * 100 < (hotest * STRUCT_REORG_COLD_STRUCT_RATIO)) + if (str->count * 100 < (hottest * STRUCT_REORG_COLD_STRUCT_RATIO)) { if (dump_file) { |