3 ms·
Congratulations, you've invented an entirely new language. Now, who's going to write the compiler for it?
by davidt84 2y ago
Congratulations, you've invented an entirely new language.
Now, who's going to write the compiler for it?
- anticensor 2y agoNo, it's C at -O0.
- davidt84 2y agoNo, it's not. Undefined behaviour is undefined behaviour whatever optimisation level you use. Some -f flags may extend the C standard and remove undefined behaviour in some cases (e.g. strict aliasing, signed integer overflow, writable string constants, etc.)