> The exact same argument could be made for any compile-time optimization.
No. For other optimization, the difference is the speed of execution. For tail call optimization, the difference can be normal execution and stack overflow.
Any optimization that removes an unnecessary stack allocation could also be the difference between normal execution and stack overflow, due to decreasing the size of the stack frame.
No.
For other optimization, the difference is the speed of execution. For tail call optimization, the difference can be normal execution and stack overflow.