[Bug rtl-optimization/85059] Compiling with -Og should preserve variable values
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 26 08:02:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85059
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Note that -Og is to optimize the debugging experience _while still optimizing_.
In that sense the aim is to be more like -O1 for runtime performance but more
like -O0 for debugging experience. Those are of course a conflict of
interest...
More information about the Gcc-bugs
mailing list