summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gcov-dump.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d9f60c84479..ba6a33f6bc3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/gcov-dump.c b/gcc/gcov-dump.c
index 916d73ce698..ae8504669fb 100644
--- a/gcc/gcov-dump.c
+++ b/gcc/gcov-dump.c
@@ -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);