New "-O1g" Optimization Level Proposed For The GCC Compiler

Written by Michael Larabel in GNU on 25 June 2019 at 02:44 AM EDT. Add A Comment
GNU
A new "-O1g" optimization level has been proposed for the GNU Compiler Collection that would allow better performance but still relative ease for debugging the generated binaries.

Short of disabling all optimizations with -O0, those wanting debug-friendly binaries have been using the "-Og" optimization level. This new -O1g proposal would enable more optimizations that make it more similar to -O1, but some optimizations could marginally impact how well the binaries could be debugged.

This -O1g proposal was volleyed over the weekend by an Arm developer. Those curious about more of the intricacies for this proposal can find the patches on the GCC mailing list.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week