[Bug debug/78685] -Og generates too many "<optimized out>"s
fredrik at dolda2000 dot com
gcc-bugzilla@gcc.gnu.org
Fri Jun 29 14:14:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78685
--- Comment #11 from Fredrik Tolf <fredrik at dolda2000 dot com> ---
(In reply to Richard Biener from comment #10)
> That is, it is reasonable to lose track of z in
>
> int a = (x + z) + b;
>
> but only after x + z is computed.
Just for the record, I disagree that it's okay to lose z after that. As I
explained in #85059, not having access to variable values after they've been
consumed is one of the absolute main reasons I never use -Og.
More information about the Gcc-bugs
mailing list