What was that about semantics?

Compilers and processors reorder your program

Programming language specifications should cover this