3 ms·
I really don't know when this became "common knowledge". Most OSes and compilers were utter crap not more than 10-20 years ago. We would spend afternoons rantin
by AshamedCaptain 3y ago
I really don't know when this became "common knowledge". Most OSes and compilers were utter crap not more than 10-20 years ago. We would spend afternoons ranting about MSVC++ bugs. gcc was a joke, and even if quickly improved, does nobody really remember that by the 2010's gcc was so buggy -O3 was barely usable? No Gentoo users around?
- RetroTechie 3y agoI recall doing some Gentoo installs using -Os at least for some packages, just to see how much that would shrink binary sizes. Documentation / wikis etc. advised against that not just for performance-of-generated-code reasons, but also because of compiler bugs using -Os was considered unreliable. Note this was with ancient GCC (v2.9.x, early 3.x releases iirc)
- paulddraper 3y ago`-O3` was known/documented to be unsafe.