public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/c++-modules] Restore LTO PGO bootstrap after ea0b12523d0d9a9059b5.
@ 2020-02-24 16:27 Nathan Sidwell
0 siblings, 0 replies; only message in thread
From: Nathan Sidwell @ 2020-02-24 16:27 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:fa1160f6e50500aa38162fefb43bfb10c25e0363
commit fa1160f6e50500aa38162fefb43bfb10c25e0363
Author: Martin Liska <mliska@suse.cz>
Date: Tue Feb 18 16:33:44 2020 +0100
Restore LTO PGO bootstrap after ea0b12523d0d9a9059b5.
* value-prof.c (stream_out_histogram_value): Restore LTO PGO
bootstrap by missing removal of invalid sanity check.
Diff:
---
gcc/ChangeLog | 5 +++++
gcc/value-prof.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c107f19..731bae4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
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
* ipa-icf-gimple.c (func_checker::compare_gimple_assign):
Always compare LHS of gimple_assign.
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-24 16:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-24 16:27 [gcc/devel/c++-modules] Restore LTO PGO bootstrap after ea0b12523d0d9a9059b5 Nathan Sidwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).