From 63d628b2fe6292f5a67eb68ede05b14d52dd4265 Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Thu, 10 Apr 2008 18:21:26 +0000 Subject: [PATCH] gcov-dump.c (tag_summary): Only print summaries for the first GCOV_COUNTERS_SUMMABLE counters. * gcov-dump.c (tag_summary): Only print summaries for the first GCOV_COUNTERS_SUMMABLE counters. From-SVN: r134166 --- gcc/ChangeLog | 5 +++++ gcc/gcov-dump.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * gcov-dump.c (tag_summary): Only print summaries for the first + GCOV_COUNTERS_SUMMABLE counters. + 2008-04-10 Uros Bizjak * 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); -- 2.30.2