On 2019/11/2 00:23, Joseph Myers wrote: > On Thu, 31 Oct 2019, Xiong Hu Luo wrote: > >> +@code{-finline} enables inlining of function declared \"inline\". >> +@code{-finline} is enabled at levels -O1, -O2, -O3 and -Os, but not -Og. > > Use @option{} to mark up option names (both -finline and all the -O > options in this paragraph). Use @code{} to mark up keyword names, not > \"\". >
Thanks. So shall I commit the tiny patch with below updates? diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 1407d019d14..ea0d407fe11 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -8576,6 +8576,10 @@ optimizing. Single functions can be exempted from inlining by marking them with the @code{noinline} attribute. +@option{-finline} enables inlining of function declared @code{inline}. +@option{-finline} is enabled at levels @option{-O1}, @option{-O2}, @option{-O3} +and @option{-Os}, but not @option{-Og}. + @item -finline-small-functions @opindex finline-small-functions Integrate functions into their callers when their body is smaller than expected