aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2018-11-13 15:52:45 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2018-11-13 15:52:45 +0000
commitbe40afb2b93a0f8f5739dd36c3c804e6f809d1d4 (patch)
tree747ab50262a4fc7bca6c6ab7f2592d8e3720e8a4 /gcc/doc
parentf824e18c061f9ffa8c49275ba072c120a5b7cdba (diff)
downloadgcc-be40afb2b93a0f8f5739dd36c3c804e6f809d1d4.zip
gcc-be40afb2b93a0f8f5739dd36c3c804e6f809d1d4.tar.gz
gcc-be40afb2b93a0f8f5739dd36c3c804e6f809d1d4.tar.bz2
-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
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 755a000..283d20f 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -14524,11 +14524,11 @@ dumps from the vectorizer about missed opportunities.
@item -fsave-optimization-record
@opindex fsave-optimization-record
-Write a SRCFILE.opt-record.json file detailing what optimizations
+Write a SRCFILE.opt-record.json.gz file detailing what optimizations
were performed, for those optimizations that support @option{-fopt-info}.
-This option is experimental and the format of the data within the JSON
-file is subject to change.
+This option is experimental and the format of the data within the
+compressed JSON file is subject to change.
It is roughly equivalent to a machine-readable version of
@option{-fopt-info-all}, as a collection of messages with source file,