
Solidity's compiler disables memory safety optimizations when inline assembly touches the zero slot at memory address 0x60. The behavior stems from the compiler's conservative model for reserved memory, not from excessive caution. Developers lose optimization benefits even when the assembly code is logically correct.
Tap to vote and see what everyone thinks.