Commit 53669259 by Andi Kleen Committed by Andi Kleen

Fix lto report names

Some of the hash tables in lto-report are misnamed in the report.
Fix this up.

gcc/:

2013-04-22  Andi Kleen  <ak@linux.intel.com>

	* lto/lto.c (print_lto_report_1): Fix LTO report names.

From-SVN: r198174
parent 1a0ad150
2013-04-22 Andi Kleen <ak@linux.intel.com> 2013-04-22 Andi Kleen <ak@linux.intel.com>
* lto/lto.c (print_lto_report_1): Fix LTO report names.
2013-04-22 Andi Kleen <ak@linux.intel.com>
* lto/lto.c (print_lto_report_1): Declare early. * lto/lto.c (print_lto_report_1): Declare early.
(read_cgraph_and_symbols): Call print_lto_report_1 early. (read_cgraph_and_symbols): Call print_lto_report_1 early.
......
...@@ -3177,7 +3177,7 @@ print_lto_report_1 (void) ...@@ -3177,7 +3177,7 @@ print_lto_report_1 (void)
else else
fprintf (stderr, "[%s] GIMPLE type table is empty\n", pfx); fprintf (stderr, "[%s] GIMPLE type table is empty\n", pfx);
if (type_hash_cache) if (type_hash_cache)
fprintf (stderr, "[%s] GIMPLE type hash table: size %ld, %ld elements, " fprintf (stderr, "[%s] GIMPLE type hash cache table: size %ld, %ld elements, "
"%ld searches, %ld collisions (ratio: %f)\n", pfx, "%ld searches, %ld collisions (ratio: %f)\n", pfx,
(long) htab_size (type_hash_cache), (long) htab_size (type_hash_cache),
(long) htab_elements (type_hash_cache), (long) htab_elements (type_hash_cache),
...@@ -3185,7 +3185,7 @@ print_lto_report_1 (void) ...@@ -3185,7 +3185,7 @@ print_lto_report_1 (void)
(long) type_hash_cache->collisions, (long) type_hash_cache->collisions,
htab_collisions (type_hash_cache)); htab_collisions (type_hash_cache));
else else
fprintf (stderr, "[%s] GIMPLE type hash table is empty\n", pfx); fprintf (stderr, "[%s] GIMPLE type hash cache table is empty\n", pfx);
print_gimple_types_stats (pfx); print_gimple_types_stats (pfx);
print_lto_report (pfx); print_lto_report (pfx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment