[Bug tree-optimization/71094] Documentation: -fivopts is enabled at -O1+, -Os and -Ofast

2025-04-15 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71094

Sam James  changed:

   What|Removed |Added

   Target Milestone|--- |15.0

[Bug tree-optimization/71094] Documentation: -fivopts is enabled at -O1+, -Os and -Ofast

2025-04-15 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71094

sandra at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from sandra at gcc dot gnu.org ---
This particular documentation bug has been fixed in time for the GCC 15 branch,
but fixing the -Q output problem is a bigger task and deferred for now.

[Bug tree-optimization/71094] Documentation: -fivopts is enabled at -O1+, -Os and -Ofast

2025-04-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71094

--- Comment #4 from GCC Commits  ---
The master branch has been updated by Sandra Loosemore :

https://gcc.gnu.org/g:d91aab4dd6814ca54c211a93fec3f072745a52c4

commit r15-9502-gd91aab4dd6814ca54c211a93fec3f072745a52c4
Author: Sandra Loosemore 
Date:   Tue Apr 15 18:37:37 2025 +

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.

[Bug tree-optimization/71094] Documentation: -fivopts is enabled at -O1+, -Os and -Ofast

2025-04-15 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71094

sandra at gcc dot gnu.org changed:

   What|Removed |Added

 CC||sandra at gcc dot gnu.org

--- Comment #3 from sandra at gcc dot gnu.org ---
I created PR119823 for the -Q issue.