Re:Mozilla finds CPU bug (bad store forwarding) in Samsung G...
by AshamedCaptain on Wednesday August 09, 2023 @01:12PM
(#37065718)
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?
[ Parent
| on HN ]
Re:Mozilla finds CPU bug (bad store forwarding) in Samsung G...
by RetroTechie on Wednesday August 09, 2023 @01:34PM
(#37066030)
I 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)
Re:Mozilla finds CPU bug (bad store forwarding) in Samsung G...
by paulddraper on Wednesday August 09, 2023 @06:32PM
(#37069278)
`-O3` was known/documented to be unsafe.