This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What optimizations are included in -Og?


On 10 April 2015 at 14:21, Eli Zaretskii wrote:
> Could someone please tell which optimizations are turned on by the -Og
> switch?  The GCC manual lists the optimization flags turned on by -O1,
> -O2, -O3, -Os, and -Ofast, but keeps silent about -Og.
>
> Is there any documentation or some other place where this information
> can be found?

You can run the command:

g++ -Q -Og --help=optimizers


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]