codr7 5 days ago

Unfortunate, yes.

But what bugs? Suboptimal choices maybe; but any backwards compatible, popular language is going to have its share of those.

1
immibis 5 days ago

The 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 5 days ago

Which I would definitely recommend as a strong default.