Add volatile to workaround GCC optimization bug in 4.9.2 and greater. #994
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request is for #988 and is a modified version from #650. I added in some comments about the issue that was being fixed as requested by @jsquyres. However, the fix itself is identical to that outlined in #650. I am hoping to get this through into 1.10.1 but if there are still enough questions about this fix, then I will give that up for now and we can try and work through the issues.
I will add @jsquyres , @goodell , @ggouaillardet to review this.