volatile: keep gcc from optimising off memset calls