3 ms·
I've seen quite a few compiler bugs, but they're almost always in new features rather than the stuff everyone's been using for years. As examples, I've seen in
by FartyMcFarter 4y ago
I've seen quite a few compiler bugs, but they're almost always in new features rather than the stuff everyone's been using for years.
As examples, I've seen intrinsics for new x86 instructions being broken in both GCC and Intel's compiler, as well as Profile-guided optimizations crashing in MSVC with a large program (I reported this to MS but I'm not sure they ever got around to looking at it).
The lesson I took from this is to not use the latest and greatest features except in toy projects.
- benibela 4y agoThe mainstream compilers are rather robust I use a niche language. It feels like I find a compiler bug there every month.
- pfdietz 4y agoI feel that niche language implementations need to be more rigorously tested, because they have fewer users testing them "for free" (not that that would be sufficient.)
- DylanSp 4y agoSimilar experience here, the one compiler bug I've found (a Typescript type-checking bug) was in a feature that had just been released.