[Bug c++/71618] Improve C++ compilation by adding specific optimization flags

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 22 17:54:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71618

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #1)
>   https://gcc.gnu.org/wiki/FAQ#optimization-options
> 
> Basically, -ON options are more than just aggregates of -fxxx options.  They
> may implicitly enable additional optimizations that other optimizations need
> to do their work.  (You may find the output of gcc -help=optimizers helpful
> here, though it too needs to be interpreted with the above caveat in mind.)

Hi Martin, I extended the FAQ answer to mention -help=optimizers as you did. It
is always better to extend the FAQ page (it is a wiki!) than to add this extra
info every time someone asks. The goal of this FAQ is that we can always answer
by pointing to the FAQ. If you think the answer in the FAQ is not (good)
enough, then please extend/rephrase it (it is a wiki!).


More information about the Gcc-bugs mailing list