Could the -Og patches for 4.8 be back-ported to 4.7.3? Or is there
important 4.8 dependencies that would make this not practicable?
The patches to add -Og shown on gcc.patches list don't look extremely
extensive.
This would be for personal use and not necessarily proposed for general
release
I tried -Og optimization on a recent svn snapshot of 4.8 and don't see
much difference in the code compared to -O1. If anything, at least for
one case, -Og is actually less debuggable than -O1, e.g., for a simple
buffer selection like this:
uint8_t* buffer;
if (condx == true)
buffer =