Hi,-free has been enabled by default for -O2 and above on AArch64 a while ago. This patch updates the relevant part of user manual to reflect the fact.
OK for stage-4? Thanks, Yufeng gcc/ * doc/invoke.texi (free): Document AArch64.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 4c183a3..9a41750 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -7414,7 +7414,7 @@ Attempt to remove redundant extension instructions. This is especially helpful for the x86-64 architecture, which implicitly zero-extends in 64-bit registers after writing to their lower 32-bit half. -Enabled for x86 at levels @option{-O2}, @option{-O3}. +Enabled for AArch64 and x86 at levels @option{-O2}, @option{-O3}. @item -flive-range-shrinkage @opindex flive-range-shrinkage