2019-06-12 Martin Liska <mliska@suse.cz>
* value-prof.c (stream_out_histogram_value): Only first value
can't be negative.
From-SVN: r272179
+2019-06-12 Martin Liska <mliska@suse.cz>
+
+ * value-prof.c (stream_out_histogram_value): Only first value
+ can't be negative.
+
2019-06-12 Jakub Jelinek <jakub@redhat.com>
PR c/90760
/* 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_SINGLE_VALUE && (i > 0 && ((i - 1) % 2) == 0))
+ if (hist->type == HIST_TYPE_SINGLE_VALUE && i > 0)
;
else
gcc_assert (value >= 0);