Merge pull request #224 from zabereer/donotoptimize_with_test_merged

Force DoNotOptimize operand to memory for both gcc and clang