When compiling, the compiler will often modify the program to increase performance. This is permitted by the as-if rule, which allows any and all transformations that do not change observable behavior.
Empty base optimization
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0