2 ms·
They used GCC before Clang, so they switched to a less optimizing compiler.
by fulafel 9y ago
They used GCC before Clang, so they switched to a less optimizing compiler.
- wuch 9y agoI 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.
- microcolonel 9y agoTheir 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.