am 845867b2: am d88323b2: Merge "Add volatile to avoid clang optimization."

* commit '845867b2c2bb373cf253dec7d771870bf2de5e0d':
  Add volatile to avoid clang optimization.