gcov-dump.c (tag_summary): Only print summaries for the first GCOV_COUNTERS_SUMMABLE...
authorAdam Nemet <anemet@caviumnetworks.com>
Thu, 10 Apr 2008 18:21:26 +0000 (18:21 +0000)
committerAdam Nemet <nemet@gcc.gnu.org>
Thu, 10 Apr 2008 18:21:26 +0000 (18:21 +0000)
* gcov-dump.c (tag_summary): Only print summaries for the first
GCOV_COUNTERS_SUMMABLE counters.

From-SVN: r134166

gcc/ChangeLog
gcc/gcov-dump.c

index d9f60c84479758b53f1f69ca87575ac14d06f01a..ba6a33f6bc32bcbf8bd01481fba42f45125f0d28 100644 (file)
@@ -1,3 +1,8 @@
+2008-04-10  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * gcov-dump.c (tag_summary): Only print summaries for the first
+       GCOV_COUNTERS_SUMMABLE counters.
+
 2008-04-10  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.md (absneg): New code iterator.
index 916d73ce698631ede7ae3963a67f9f782abb6f20..ae8504669fb36e4613c017a73def9654ae43ad29 100644 (file)
@@ -420,7 +420,7 @@ tag_summary (const char *filename ATTRIBUTE_UNUSED,
   gcov_read_summary (&summary);
   printf (" checksum=0x%08x", summary.checksum);
 
-  for (ix = 0; ix != GCOV_COUNTERS; ix++)
+  for (ix = 0; ix != GCOV_COUNTERS_SUMMABLE; ix++)
     {
       printf ("\n");
       print_prefix (filename, 0, 0);