3 ms·
A couple of years back, I worked at a company where I helped maintaining a Win32 application written in C, using (Open)Watcom as the compiler. A few years befo
by krylon 10y ago
A couple of years back, I worked at a company where I helped maintaining a Win32 application written in C, using (Open)Watcom as the compiler.
A few years before I started working there, the other programmers had been bitten by a bug in Watcom's optimizer that sometimes would wrongly optimize away comparisons involving floating point numbers.
Consequently, all code was compiled with optimizations disabled completely. (I tried to debate, but then I compiled the project with most optimizations enabled and did a benchmark - the difference in performance was minimal, so I stopped bothering).