https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115990
Xi Ruoyao <xry111 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |xry111 at gcc dot gnu.org
--- Comment #15 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
Personally I've noticed two downsides of -Ofast.
1. As an ICPC coach I have to keep telling the trainees `do not blindly copy
the stupid #pragma GCC optimize("Ofast") appearing in some code posted online
by some stupid people; one team has really lost a medal simply because of it.'
2. As a GCC developer I noticed some developers are too concentrated on
improving the generated code with -Ofast, but in practice -Ofast is rarely used
(comparing to -O2) so IMO they are not spending the time efficiently.
But I'm skeptical on if the downsides are enough to deprecate it.