I'm curious if compilers already make this optimization, and if not, why.