diff options
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r-- | gcc/value-prof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c index 5f940f4..8e9f129 100644 --- a/gcc/value-prof.c +++ b/gcc/value-prof.c @@ -332,7 +332,7 @@ stream_out_histogram_value (struct output_block *ob, histogram_value hist) /* When user uses an unsigned type with a big value, constant converted to gcov_type (a signed type) can be negative. */ gcov_type value = hist->hvalue.counters[i]; - if (hist->type == HIST_TYPE_TOPN_VALUES && i > 0) + if (hist->type == HIST_TYPE_TOPN_VALUES) ; else gcc_assert (value >= 0); |