https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103438
Bug ID: 103438 Summary: Updated documentation for gcc Optimization command line options (sec 3.11) Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nils.smeds at gmail dot com Target Milestone: --- Created attachment 51880 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51880&action=edit Patch to file gcc/doc/invoke.texi I was confused about when options --fprefetch-loop-arrays and --aggressive-loop-optimizations are active and found that these options are always active (including at level -O0). So I took a pass through the documentation page and made it reflect this. I changed the wording for -Os as it to some extent contradicted the options actually in effect at -Os I also made minor edits to make chapter 3.11 more consistent in formatting, in particular making sure that "Enabled/Disabled..." information at the end of parameter sections is a separate paragraph. Hope it will be useful