New "-O1g" Optimization Level Proposed For The GCC Compiler
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.
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.
Add A Comment