diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 88b03be7135..2fe9f0dfdf5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2020-05-20 Martin Liska + + * lto-compress.c (lto_compression_zstd): Fill up + num_compressed_il_bytes. + (lto_uncompression_zstd): Likewise for num_uncompressed_il_bytes here. + 2020-05-20 Richard Biener PR tree-optimization/95219 diff --git a/gcc/lto-compress.c b/gcc/lto-compress.c index 56cd9626b19..d19338b396a 100644 --- a/gcc/lto-compress.c +++ b/gcc/lto-compress.c @@ -141,6 +141,7 @@ lto_compression_zstd (struct lto_compression_stream *stream) if (ZSTD_isError (csize)) internal_error ("compressed stream: %s", ZSTD_getErrorName (csize)); + lto_stats.num_compressed_il_bytes += csize; stream->callback (outbuf, csize, NULL); lto_destroy_compression_stream (stream); @@ -169,6 +170,7 @@ lto_uncompression_zstd (struct lto_compression_stream *stream) if (ZSTD_isError (dsize)) internal_error ("decompressed stream: %s", ZSTD_getErrorName (dsize)); + lto_stats.num_uncompressed_il_bytes += dsize; stream->callback (outbuf, dsize, stream->opaque); lto_destroy_compression_stream (stream);