The compiler ate my loop
I wrote a delay loop. One hundred million iterations of nothing, which is a thing C is supposed to allow you to write. At -O0 it existed. At -O2 it did not exist. The compiler looked at my loop, decid...
Read More →Newest first.compiler
I wrote a delay loop. One hundred million iterations of nothing, which is a thing C is supposed to allow you to write. At -O0 it existed. At -O2 it did not exist. The compiler looked at my loop, decid...
Read More →