On 10 April 2015 at 14:48, Jonathan Wakely wrote: > 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 Or replace g++ with gcc to taste, my fingers always type g++ by default :-)