* value-prof.c (stream_out_histogram_value): Restore LTO PGO
bootstrap by missing removal of invalid sanity check.
+2020-02-18 Martin Liska <mliska@suse.cz>
+
+ * value-prof.c (stream_out_histogram_value): Restore LTO PGO
+ bootstrap by missing removal of invalid sanity check.
+
2020-02-18 Martin Liska <mliska@suse.cz>
PR ipa/92518
/* 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);