3 ms·
Compilers already have these optimizations. Doing nothing would be leaving those optimizations in. If what you want is a straightforward translation of C into
by haberman 10y ago
Compilers already have these optimizations. Doing nothing would be leaving those optimizations in.
If what you want is a straightforward translation of C into machine code, there is always -O0.
- mpweiher 10y ago> Compilers already have these optimizations. git co <previous-hash> You're welcome!
- haberman 10y agoYou're the person who wants this. Maybe you should do that? Also make sure you're willing to give up support for newer language standards, CPU architectures, and countless bugfixes (even C++98 support was getting pretty noticeable bugfixes in GCC 10 years ago).