4 ms·
People sometimes have unreasonable faith in compilers or libraries. It's a common adage to look at bugs in application code before suspecting these lower layers
by asveikau 5y ago
People sometimes have unreasonable faith in compilers or libraries. It's a common adage to look at bugs in application code before suspecting these lower layers. That is not the same thing as the lower layers never producing unexpected results. So when people get evidence that a compiler feature may be rough around the edges, they resist it.
- gumby 5y agoFrom Cygnus it felt like the opposite: more than half the reports were from people blaming the compiler when it was their own code that was at fault. But that perspective aside, I agree: generally people correctly assume that their tools are OK and their code is at fault. I wouldn't consider -ffast-math a bug: it's a sharp tool that should only be used by experienced users. If there's a bug at all it's that, in retrospect, the flag should have had a different name.