Modern compilers doing crazy optimisations