-fsave-optimization-record: compress the output using zlib
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 13 Nov 2018 15:52:45 +0000 (15:52 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 13 Nov 2018 15:52:45 +0000 (15:52 +0000)
commitbe40afb2b93a0f8f5739dd36c3c804e6f809d1d4
tree747ab50262a4fc7bca6c6ab7f2592d8e3720e8a4
parentf824e18c061f9ffa8c49275ba072c120a5b7cdba
-fsave-optimization-record: compress the output using zlib

gcc/ChangeLog:
* doc/invoke.texi (-fsave-optimization-record): Note that the
output is compressed.
* optinfo-emit-json.cc: Include <zlib.h>.
(optrecord_json_writer::write): Compress the output.

From-SVN: r266078
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/optinfo-emit-json.cc