Re:Undefined Behavior Is Really Undefined
by jnurmine on Sunday December 02, 2018 @11:46AM
(#18583045)
I wonder if it does anything useful at all, since it -O9 is not defined, unless the compiler is some kind of special version.
[ Parent
| on HN ]
Re:Undefined Behavior Is Really Undefined
by yjftsjthsd-h on Sunday December 02, 2018 @12:32PM
(#18583314)
IIRC, the code is actually `if O>2` or so; 3 and up are literally identical.
EDIT: Per https://wiki.gentoo.org/wiki/GCC_optimization#What_about_-O_... it's `enabled = (level >= 3);`