3 ms·
Unfortunate, yes. But what bugs? Suboptimal choices maybe; but any backwards compatible, popular language is going to have its share of those.
by codr7 1y ago
Unfortunate, yes.
But what bugs? Suboptimal choices maybe; but any backwards compatible, popular language is going to have its share of those.
- immibis 1y agoThe ones GP is referring to all go away when you use -O0. They're completely artificially constructed by compiler writers language-lawyering the language. They were unforeseeable to the people who actually wrote the language, who expected interpretations like "dereferencing null crashes the program" or "dereferencing null accesses the interrupt vector table" and absolutely were not expecting "dereferencing null deletes the previous three lines of code"
- codr7 1y agoWhich I would definitely recommend as a strong default.