From: Martin Liska Date: Tue, 6 Apr 2021 12:31:13 +0000 (+0200) Subject: -flto-compression-level: improve documentation X-Git-Tag: basepoints/gcc-12~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fd1271e71b16b535d0016229dff6e89a3deb280;p=thirdparty%2Fgcc.git -flto-compression-level: improve documentation gcc/ChangeLog: * doc/invoke.texi: Document minimum and maximum value of the argument for both supported compression algorithms. --- diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index f4f2fb639524..46876ea2961e 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