3 ms·
In that case clang, gcc and msvc would be considered low quality conpilers. I get the sentiment: compiler bugs have a cascading effect, especially miscompiles
by vnorilo 6y ago
In that case clang, gcc and msvc would be considered low quality conpilers.
I get the sentiment: compiler bugs have a cascading effect, especially miscompiles (looking at you, clang). Crashed while compiling (looking at you, msvc) are also bad, but less serious.
In any case, you'd be surprised how many bugs a useful compiler may have.
For the record, I consider the three compilers I mentioned, having observed all sorts of bugs in then almost yearly, very high quality compilers.
We can mostly just work together to add to the mountain of regression tests that safeguard our open source compilers.
Maybe formal verification will some day produce bug-free toolchains, but we are not there yet for the production grade optimizing compiler.