Content originally posted in LPCWare by LabRat on Mon Mar 17 08:52:08 MST 2014
Quote: lpcxpresso-support
So please let us know your experiences of using -Og.
Quote:
O0
--
text data bss dec
55212 184 8240 63636
O1 -24,02%
---------
text data bss dec
41948 184 8240 50372
Og -23,68%
---------
text data bss dec
42136 184 8240 50560
I'm not sure where the (exact) difference between Og and O1 is, but it's nearly the same code reduction...
Debugging is working without problems...
Quote: lpcxpresso-support
However we are now considering switching to using -Og by default for new projects. But before we do this, we would be very interested to see some feedback from the LPCXpresso user base.
Default for what? Debug build? No, thanks. I don't like to debug optimized code in Debug build...