On Mon, 8 Apr 2024, Johannes Nendwich via Gcc wrote: > on https://gcc.gnu.org/onlinedocs/gfortran/Code-Gen-Options.html > there is at the end the part > > -ffrontend-optimize > > This option performs front-end optimization, based on manipulating > parts the Fortran parse tree. > > Might it be that it should say "... manipulating parts _of_ the Fortran > parse tree."?
Yes, I believe you're right, so went ahead and pushed the following change. Thank you, Gerald commit a071fcda136d00f8321d0adc773007f4f45020ea Author: Gerald Pfeifer <ger...@pfeifer.com> Date: Fri Aug 23 10:02:15 2024 +0200 fortran: Minor fix to -ffrontend-optimize description gcc/fortran: * invoke.texi (Code Gen Options): Add a missing word. diff --git a/gcc/fortran/invoke.texi b/gcc/fortran/invoke.texi index 6bc42afe2c4..8b3f8118848 100644 --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @@ -2117,7 +2117,7 @@ if @option{-ffrontend-optimize} is in effect. @cindex Front-end optimization @item -ffrontend-optimize This option performs front-end optimization, based on manipulating -parts the Fortran parse tree. Enabled by default by any @option{-O} option +parts of the Fortran parse tree. Enabled by default by any @option{-O} option except @option{-O0} and @option{-Og}. Optimizations enabled by this option include: @itemize @bullet