Index: test/cctest/compiler/test-run-machops.cc |
diff --git a/test/cctest/compiler/test-run-machops.cc b/test/cctest/compiler/test-run-machops.cc |
index 6bd00c2ca5a4d581bf78064720c5ec5fb8ce8e2f..d259ab15c539cf85384dccd3bb94da565766fefe 100644 |
--- a/test/cctest/compiler/test-run-machops.cc |
+++ b/test/cctest/compiler/test-run-machops.cc |
@@ -4019,7 +4019,7 @@ TEST(RunTruncateFloat32ToUint32) { |
m.Return(m.TruncateFloat32ToUint32(m.Parameter(0))); |
{ |
FOR_UINT32_INPUTS(i) { |
- float input = static_cast<float>(*i); |
+ volatile float input = static_cast<float>(*i); |
// This condition on 'input' is required because |
// static_cast<float>(std::numeric_limits<uint32_t>::max()) results in a |
// value outside uint32 range. |