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

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