3 ms·
> -O3 yikes. I didn't realize anyone actually used -O3 in-production. Isn't that widely considered to be a BadIdea™?
by halosghost 11y ago
> -O3
yikes. I didn't realize anyone actually used -O3 in-production. Isn't that widely considered to be a BadIdea™?
- majke 11y agoI use it all the time. I've encountered more bugs with -O0 and lack of -O at all, than with explicit -O3. My experience is with gcc.
- halosghost 11y agoI've /never/ seen -O3 used in the wild (nor -O0 actually). I've essentially only seen -O2 and -Os actually being used in-production. Perhaps that has just been luck of the draw…
- lfowles 11y agoFunny, building -O3 actually flushed out some segfaults due to timing... everything was running too damn fast for my assumptions to hold! It looks like Debian policy is to build at -O2 with exceptions for building at -O0 or -O3