aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-04-06 14:31:13 +0200
committerMartin Liska <mliska@suse.cz>2021-04-09 13:47:22 +0200
commit6fd1271e71b16b535d0016229dff6e89a3deb280 (patch)
tree0e120e2cd3958499d6c8de60c3990062cbcd725a /gcc
parent7d7481ecbcb689e1120d4d22d6ede18769fbcb5a (diff)
downloadgcc-6fd1271e71b16b535d0016229dff6e89a3deb280.zip
gcc-6fd1271e71b16b535d0016229dff6e89a3deb280.tar.gz
gcc-6fd1271e71b16b535d0016229dff6e89a3deb280.tar.bz2
-flto-compression-level: improve documentation
gcc/ChangeLog: * doc/invoke.texi: Document minimum and maximum value of the argument for both supported compression algorithms.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/doc/invoke.texi10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index f4f2fb6..46876ea 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -12371,10 +12371,12 @@ the link-time optimization step directly from the WPA phase.
@opindex flto-compression-level
This option specifies the level of compression used for intermediate
language written to LTO object files, and is only meaningful in
-conjunction with LTO mode (@option{-flto}). Valid
-values are 0 (no compression) to 9 (maximum compression). Values
-outside this range are clamped to either 0 or 9. If the option is not
-given, a default balanced compression setting is used.
+conjunction with LTO mode (@option{-flto}). GCC currently supports two
+LTO compression algorithms. For zstd, valid values are 0 (no compression)
+to 19 (maximum compression), while zlib supports values from 0 to 9.
+Values outside this range are clamped to either minimum or maximum
+of the supported values. If the option is not given,
+a default balanced compression setting is used.
@item -fuse-linker-plugin
@opindex fuse-linker-plugin