VOLATILE: needed?

Yes, VOLATILE is required in this context. What happens when you omit it all depends on how the selected compiler chooses to optimize.

4 Likes