On 4/20/22 10:55, Jan Hubicka via Gcc-patches wrote:
I tink we can just drop the sanity check completely. In general the
profile data may be corrupted and each use of it should be guarded to
not explode on such situation.
Makes sense to me. I'm going to do it once stage1 opens.
Cheers,
Martin
> From: Sergei Trofimovich
>
> TOPN metrics are histograms that contain overall count and per-bucket
> count. Overall count can be nevative when two profiles merge and some
> of per-bucket metrics are dropped.
>
> Noticed as an ICE on python PGO build where gcc crashes as:
>
> during IPA pa
Hi.
Thanks you for the patch, please apply it.
Cheers,
Martin
From: Sergei Trofimovich
TOPN metrics are histograms that contain overall count and per-bucket
count. Overall count can be nevative when two profiles merge and some
of per-bucket metrics are dropped.
Noticed as an ICE on python PGO build where gcc crashes as:
during IPA pass: modref
a.c