3 ms·
-O0 still does some optimization from what I can find online. Maybe someone knows more specifics since the manual is pretty brief.
by pkaye 6y ago
-O0 still does some optimization from what I can find online. Maybe someone knows more specifics since the manual is pretty brief.
- guenthert 6y agoI can only confirm that -O0 performs some optimization, which can be annoying when single-stepping through the code (cough, cough) using a debugger. Hence gcc offers -Og to suppress those optimizations (not sure, whether that in itself causes some debugging info to be added though).