Re:OpenBSD switches the default compiler on amd64 and i386 t...
by fulafel on Thursday July 27, 2017 @09:50AM
(#14865205)
They used GCC before Clang, so they switched to a less optimizing compiler.
[ Parent
| on HN ]
Re:OpenBSD switches the default compiler on amd64 and i386 t...
by wuch on Thursday July 27, 2017 @02:57PM
(#14868286)
I would argue to the contrary, especially that we are comparing modern Clang/LLVM with a GCC that was released back in 2008.
At that point C programming language didn't even have a memory model.
Re:OpenBSD switches the default compiler on amd64 and i386 t...
by microcolonel on Thursday July 27, 2017 @04:49PM
(#14869351)
Their GCC version was forked a while back because of quality issues in "stable" releases of GCC. Optimizing compilers have gotten a lot better since then. Upstream Clang still (in aggregate) generates worse code than upstream GCC, but the point is that Clang's stable releases tend to have fewer correctness regressions, and optimize more than OpenBSD's current version of GCC.