3 ms·
No need to for parentheses around "ab" in abuse. This is just bad behaviour from compilers trying to optimise for benchmarks. The right thing to do is to issu
by adrianratnapala 10y ago
No need to for parentheses around "ab" in abuse. This is just bad behaviour from compilers trying to optimise for benchmarks.
The right thing to do is to issue an error or warning, and then not make absurd assumptions about other variables. A good explanation of all this can be found here: http://c9x.me/compile/bib/ubc.pdf http://c9x.me/compile/bib/ubc.pdf
- legulere 10y agoI guess the problem with issuing warnings is that dead code can also contain undefined behaviour, so the compiler would probably produce lots of false positives.