]> git.ipfire.org Git - thirdparty/gcc.git/commit
Docs: Address -fivopts, -O0, and -Q confusion [PR71094]
authorSandra Loosemore <sloosemore@baylibre.com>
Tue, 15 Apr 2025 18:37:37 +0000 (18:37 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Tue, 15 Apr 2025 19:18:27 +0000 (19:18 +0000)
commitd91aab4dd6814ca54c211a93fec3f072745a52c4
treefb578eb55ed4e5c443f417b48c8433536895cac6
parent628aecb050bbbc4bb0bd4468c474623e20d64e21
Docs: Address -fivopts, -O0, and -Q confusion [PR71094]

There's a blurb at the top of the "Optimize Options" node telling
people that most optimization options are completely disabled at -O0
and a similar blurb in the entry for -Og, but nothing at the entry for
-O0.  Since this is a continuing point of confusion it seems wise to
duplicate the information in all the places users are likely to look
for it.

gcc/ChangeLog
PR tree-optimization/71094
* doc/invoke.texi (Optimize Options): Document that -fivopts is
enabled at -O1 and higher.  Add blurb about -O0 causing GCC to
completely ignore most optimization options.
gcc/doc/invoke.texi